开发者

Send xml to web service and get response

开发者 https://www.devze.com 2023-01-22 01:11 出处:网络
I have an endpoint to a web service, I have a .wsdl file with the information开发者_如何学运维 in it, as well as a .xsd file. I have created a web reference application using the endpoint in VS. Now I

I have an endpoint to a web service, I have a .wsdl file with the information开发者_如何学运维 in it, as well as a .xsd file. I have created a web reference application using the endpoint in VS. Now I want to send an xml file as a string and get some form of response from the service. HOW can I do this? I need a complete waalkthrough in terms of VS. Thanks for your time.


Do you really want to send XML as a string? Surely this XML has some known structure that should be part of the service's contract, i.e. The WSDL.

Given the WSDL,Visual Studio will genarate a proxy for the service. You then call it's methods.

Does this help at all?

0

精彩评论

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