开发者

Call to web service in php

I have to do a call to a webservice using php. The only information that I have is an example call for SoapUI like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://somewhere.at/"&开发者_如何学Cgt;
  <soapenv:Header/>
  <soapenv:Body>
    <web:authenticate>
      <user-name>mmann</user-name>
      <password>787cef7a4e1ff51fcc920ad62aaa6df2df99a4bb</password>
    </web:authenticate>
  </soapenv:Body>
</soapenv:Envelope>

How can I do a similar call using php?

Thank you so much!!!


Check out this:

  • Webservice call from PHP – wsdl2php makes it simple
  • SOAP (php.net)


you can use nusoap. and use soapui to test the webservice itself. hope this helps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜