开发者

C# client calling Java SOAP web service gets SAXException

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜