Send xml to web service and get response
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?
精彩评论