我有soap请求,希望通过pythonzeep脚本发送它。在
POST /IntegrationService/IntegrationService.asmx HTTP/1.1
Host: 192.168.66.2
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?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>
<SendHardwareCommand xmlns="http://parsec.ru/Parsec3IntergationService">
<sessionID>guid</sessionID>
<territoryID>guid</territoryID>
<command>int</command>
</SendHardwareCommand>
</soap12:Body>
</soap12:Envelope>
我试着自己写
^{pr2}$怎么做对?在
我看不到您的xml中}值传递给服务调用中的
Header
的结构,也无法在您提供的WSDL上进行测试,但您可能需要将您的login
和{_soapheaders()
kwarg:关于
_soapheaders
here的更多信息。在按要求解决
相关问题 更多 >
编程相关推荐