我使用ksoap2 包连接.net 服务器 取 和 交 数据,对于一般的方法访问起来都没有问题,带基本类型参数的也没有问题,可是访问带复杂参数时(提交数据到服务器的方法)遇到如下问题:
     1、Log显示服务器不能识别 07-21 02:18:59.582: WARN/System.err(396): SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not recognize the value of HTTP Header SOAPAction: http://namespace/methodname().' faultactor: 'null' detail: org.kxml2.kdom.Node@43f100b0
我用浏览器访问显示The test form is only available for requests from the local machine. (因为其它方法不显示此错误),所以应该不是webConfig 中加什么什么的问题。
    
     2、因参数是相当复杂的对象类型(List<对象>中的对象还有List<对象>属性) ,查网上的说法en.addMapping(...) 之后首对象好像是可以过了,但首对象中的属性(是一个List<对象>)报不能序列化错误。
     期望有经验人士的帮助,先谢谢了!