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大家可以在线试试看

解决方案 »

  1.   

    看给出的提示信息,估计是没有设置encodingStyle引起的。例如:
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </SOAP-ENV:Envelope>
      

  2.   

    to tonyzhangcn(东尼) ( 你说的<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </SOAP-ENV:Envelope>在哪设置???
      

  3.   


    net加入:
    [SoapRpcService(RoutingStyle=SoapServiceRoutingStyle.SoapAction)]
      

  4.   

    这个问题我知道,你需要在你的deploy。wsdd中增加反序列化类的MAPPING
      

  5.   

    请与我联系   [email protected]
      

  6.   

    在你的binding中,方法的参数中增加属性,use="encoded"
    然后从你的WSDL文件重新生成stub和skeleton,这个时候你的WSDD文件应该有了反序列化器的类声明