如何在ServiceDescription请求中调试错误的XML数据 [英] How to debug faulty XML data in ServiceDescription requests
问题描述
嗨.我的winforms应用程序正在使用在较旧的PHP服务器上运行的Web服务,这就是为什么当我调用其成员时,经常会从服务类中收到XML解析错误的原因.
Hi. My winforms application is consuming webservices that run on an older PHP server, which is why i often get an XML parsing error from the service class when i invoke its members.
我的问题是,如何查看错误的XML,以便可以在PHP服务器上更正它-抛出的异常清楚地指出了XML中错误的位置,但是如果没有该错误,这是没有用的XML.
My question is, how do I get to see the faulty XML so that I may correct it on the PHP server - the thrown exception clearly states the position of the error in the XML, but it doesn't help without the XML.
推荐答案
通常不是VB表单,因为它适用于每种环境.
Typical not a VB form as it is for every environment.
尝试此论坛Windows Communication Foundation(包括Web服务和Soap之类的东西)
Try this forum Windows Communication Foundation (that includes webservices and things like Soap)
http://social.msdn.microsoft.com/Forums/en-US/wcf /threads
这篇关于如何在ServiceDescription请求中调试错误的XML数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!