开发者

How to show soap request xml for a web service call?

开发者 https://www.devze.com 2023-02-21 22:12 出处:网络
I am using a web method of a company\'s web service. This web method requires one parameter when calling it:

I am using a web method of a company's web service.

This web method requires one parameter when calling it:

CompanyOpereations srv = new CompanyOperations();
srv.getCustomerInfo(input);

How can I see my soap request xml when calling开发者_开发问答 this method?


How do you want to see it? If it's inside the code; I don't know. (Un)Fortunately .NET does a pretty good job of hiding it for the developer.

However, if you just want to debug the calls and nothing else: try Fiddler. It will show you the Request/Response (including headers and everything else) for the webservice calls. This is what we use for debugging webservices. But you can use it for everything that uses the HTTP protocol for communication.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号