resp = call.invoke(url, "http://service.zx.chinavnet.com/v1.0/Logout");//在这调用失败
//调用失败,提示:Caught SOAPException (SOAP-ENV:Client): No Deserializer found to deserialize a 'http://service.zx.chinavnet.com/v1.0/:LogoutResult' using encoding style 'null'.url为:http://developer.chinavnet.com/VNetInterface/SPForVNet/SPInterfaceForVNet.asmx大家可以在线试试看
//调用失败,提示:Caught SOAPException (SOAP-ENV:Client): No Deserializer found to deserialize a 'http://service.zx.chinavnet.com/v1.0/:LogoutResult' using encoding style 'null'.url为:http://developer.chinavnet.com/VNetInterface/SPForVNet/SPInterfaceForVNet.asmx大家可以在线试试看
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</SOAP-ENV:Envelope>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</SOAP-ENV:Envelope>在哪设置???
net加入:
[SoapRpcService(RoutingStyle=SoapServiceRoutingStyle.SoapAction)]
然后从你的WSDL文件重新生成stub和skeleton,这个时候你的WSDD文件应该有了反序列化器的类声明