0
我打电话一个典型的SOAP WCF方法void HelloWorld();
WCF方法返回空消息元素
不幸的是,响应如下:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<HelloWorld xmlns="http://tempuri.org/"/>
</s:Body>
</s:Envelope>
有什么办法,我可以从删除<HelloWorld xmlns="http://tempuri.org/"/>
线反应(基本上有一个空的<s:Body>
)?
它返回进行调用的方法的名称。无论如何,你为什么要忽略它?你想达到什么目的? – vibhu