我希望大家都做得很好。我需要一点SOAP API的帮助。我想发送XML,我有WSDL端点。有人能帮我,如何做到这一点吗?帮助将不胜感激。
首先,什么是CURL和soapClient的好方法?
这是终点http://some_ip/some_channel/services/some_service?wsdl
XML在这里:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<ban:someMthod>
<chnlNum>somenumber</chnlNum>
<chnlPasWd>some password</chnlPasWd>
<userNum>some number</userNum>
<amount>some amount</amount>
<requestDate>some date</requestDate>
<requestId>some random number</requestId>
</ban:someMethod>
</soapenv:Body>
</soapenv:Envelope>
1条答案
按热度按时间jv4diomz1#
整个请求将如下所示。