I have a C# service reference to a Java web service. The soap that the client objects uses l开发者_StackOverflow社区ooks like:
<s:Envelope ...><s:Body ...><requestArgument>...</requestArgument></s:Body></s:Envelope>
It needs to look like:
<s:Envelope ...><s:Body ...><methodName><requestArgument>...</requestArgument></methodName></s:Body></s:Envelope>
How do I get the service reference to include the method name in the soap?
Have your Java SOAP web service generate a WSDL. With that, you should be able to create the correct C# client stubs and marshaling objects using the wsdl.exe tool
精彩评论