1.在程序中调用WebService一直报错。由于是在Java客户端调用的,加上对这一块也不太熟。没有看到具体的异常。
2.将请求参数放进SOAP UI中去,响应了这个异常。
3.当Spectrum接收到SOAP请求的SOAP主体部分中不包含数据时,将发生此错误。
https://support.pitneybowes.com/VFP06_KnowledgeWithSidebarTroubleshoot?id=kA280000000ClXrCAK&popup=false&lang=en_US
`Cause
This error happens when Spectrum receives a SOAP request that does not contain data in the SOAP Body portion of the request.
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:val=“http://www.pb.com/spectrum/services/ValidateAddress”>
soapenv:Header/
soapenv:Body
val:ValidateAddressRequest
</val:ValidateAddressRequest>
</soapenv:Body>
</soapenv:Envelope>`
4.检查生成的参数体是否与SOAP UI提示的参数体一致。