使用微信在线调试工具可以得到返回值,可是在微信上发消息到公众号却显示服务号出现故障。
   
难道返回xml的代码有问题?
webapi代码:
 result = new HttpResponseMessage { Content = new StringContent(returnXml, Encoding.GetEncoding("UTF-8"), "text/xml") };
 return result;