是不是ENDPOINT URL写错了?还是WEB服务名写错了

解决方案 »

  1.   

    后来发现是参数没传进去,传进去的参数都为null
    但返回值是可以得到的,是不是参数得进行serializer? 怎么做呢? 谢谢
      

  2.   

    resp = call.invoke(url,"http://tempuri.org/TestParam_String") ;
    是不是这里呢?    // make the call: note that the action URI is empty because the 
        // XML-SOAP rpc router does not need this. This may change in the
        // future.
        Response resp = call.invoke (/* router URL */ url, /* actionURI */ "" );