首页 > 其他分享 >SOAP错误:错误代码:VersionMismatch,错误字符串:错误版本

SOAP错误:错误代码:VersionMismatch,错误字符串:错误版本

时间:2023-02-22 11:45:58浏览次数:74  
标签:http 错误 错误代码 envelope soap org SOAP

几经查找原因原来只需要把:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:soap12=" http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<taskFeedback xmlns=" http://www.hainanjt.gov.cn/soa_service/">
<taskFeedbackRequest>
<APIPassword>123</APIPassword>
<MessageID>123</MessageID>
<APIDevUserID>123</APIDevUserID>
<Version>123</Version>
<APISellerUserID>123</APISellerUserID>
<TrackCode>123</TrackCode>
</taskFeedbackRequest>
</taskFeedback>
</soap12:Body>
</soap12:Envelope>
中的 http://www.w3.org/2003/05/soap-envelope 改成: http://schemas.xmlsoap.org/soap/envelope/即可

标签:http,错误,错误代码,envelope,soap,org,SOAP
From: https://www.cnblogs.com/daboluo/p/17143822.html

相关文章