WebService rwsp:NoRunningCommunicationPointAvailable

调WebService 报 No running communication point is configured to process this request. 错误

检查入参是否有特殊符号

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
   <soap:Header/>
   <soap:Body>
        <tem:CallInterface>
            <!--Optional:-->
            <tem:xmlParam>
            MSH|^~\&|P02||Z01||20210804151332||ORM^O01|MSG20210804151332|P|2.7
            PID|||000666666^000666666^000666666||TEST|||M
            PV1||I|^-7||||||||||||||||217109121
            ORC|SC|262464260|TEST||CM|||||TEST||||||0
            BLG||||05^^^TEST^TEST
            </tem:xmlParam>
            <!--Optional:-->
            <tem:callOperator>A</tem:callOperator>
            <!--Optional:-->
            <tem:certificate>Test</tem:certificate>
        </tem:CallInterface> 
   </soap:Body>
</soap:Envelope>

入参里面有个 & 导致的错误

上一篇:使用PostMan测试WebService服务


下一篇:MFC之QtSoapHttpTransport 访问WebService