背景※
没有提供sessionId参数或者错误提供,也常见于使用普通http调用时
可能原因※
检查sessionId的传值
如果是http调用,检查报文是否错误的添加了命名空间
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctrl="http://ctrl.eipmp.shine.com/">
<soapenv:Header/>
<soapenv:Body>
<ctrl:executeMsg>
<!--Optional:-->
<arg0>5A0B7440B24F6714</arg0>
<!--Optional:-->
<arg1><![CDATA[
]]></arg1>
</ctrl:executeMsg>
</soapenv:Body>
</soapenv:Envelope>上面是正确的soap报文,之前遇到一个对接方,executeMsg添加了命名空间,有的可能长这样
<ctrl:executeMsg xmlns="http://ctrl.eipmp.shine.com/">把命名空间删掉就可以