将标头和正文发送给肥皂客户端

时间:2019-04-08 09:16:24

标签: php soap

我需要将标头和正文发送给SoapClient

这是我需要发送到wsdl的xml请求

<soapenv:Header>
   <hh:hiHeader>
     <mcode>1020</mcode>
   </hh:hiHeader>
</soapenv:Header>
<soapenv:body>
   <def:getRequest>
       <myID>10</myID>
   </def:getRequest>
</soapenv:body>

如何继续此代码发送xml请求

$client = new \SoapClient('myIntegrationService.wsdl');

0 个答案:

没有答案