[求救]電信彩信閘道器開發錯誤-SOAP_VERSIONMISMATCH

weixin_30924079發表於2020-04-04
返回版本不對,經過很多測試,沒有發現問題,現求救各位大哥:
SOAP_VERSIONMISMATCH

下面是下發的彩信包

POST /MmsSendMessageService HTTP/1.1
Host:118.85.200.55:9081
User-Agent: WU
Content-Type: multipart/related;  boundary="==part20120113070919=="; type="text/xml"; start="<SOAP-ENV:Envelope>"
Content-Length:1859

Connection: close
SOAPAction: ""

--==part20120113070919==
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <SOAP-ENV:Envelope>

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1" xmlns:ns3="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1" xmlns:ns6="http://www.chinatelecom.com.cn/wsdl/ctcc/sms/send/v2_1/service" xmlns:ns1="http://www.chinatelecom.com.cn/schema/ctcc/sms/send/v2_1/local"><SOAP-ENV:Header><ns3:RequestSOAPHeader><spId>35101051</spId><spPassword>F40E09B4403699356E23ED00F614C6AE</spPassword><timeStamp>0113070919</timeStamp><productId>135000000000000166819</productId><SAN></SAN><transactionId></transactionId><transEnd>0</transEnd><linkId>01111209129995215895</linkId><OA>tel:+8618925280633</OA><FA></FA><multicastMessaging>false</multicastMessaging></ns3:RequestSOAPHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:sendMessage><ns1:addresses>tel:+8618925280633</ns1:addresses><ns1:senderAddress>10660502</ns1:senderAddress><ns1:subject>test</ns1:subject><ns1:priority>Default</ns1:priority><ns1:charging><description>MMS</description><currency>0</currency><amount>100</amount><code>shb</code></ns1:charging><ns1:receiptRequest><endpoint>tel:+8618925280633</endpoint><interfaceName>sendMessage</interfaceName><correlator>201201110440565431637318925280633</correlator></ns1:receiptRequest></ns1:sendMessage></SOAP-ENV:Body></SOAP-ENV:Envelope>
--==part20120113070919==
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <1.txt>
Content-Location: 1.txt

yyadsf,lllll垃圾法
--==part20120113070919==

下面是電信閘道器返回的錯誤:

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:comm3="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1" xmlns:mm1="http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>Client</faultcode><faultstring>500 Internal Server Error</faultstring><detail><comm3:ServiceException xsi:type="comm3:ServiceException"><messageId>SVC0001</messageId><text>SOAP_VERSIONMISMATCH</text></comm3:ServiceException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
  

問題已經解決請檢視:[解決]電信彩信閘道器開發錯誤-SOAP_VERSIONMISMATCH
 

轉載於:https://www.cnblogs.com/wenanry/archive/2012/01/13/2321194.html

相關文章