开发者

how to do SOAP request in PHP code

开发者 https://www.devze.com 2023-01-17 03:20 出处:网络
My website is written in PHP. How should I write the PHP code to send a SOAP request to another server and parse the response.

My website is written in PHP. How should I write the PHP code to send a SOAP request to another server and parse the response.

开发者_高级运维The link below is the server who can accept the request. http://gisdata.usgs.gov/XMLWebServices2/Elevation_Service.asmx?op=getElevation

Thanks.


You have options.

If it's available on your server, there's a native SoapClient extension for php. You could use that.

Or, you might prefer the Zend_Soap library, which is part of the Zend Framework, but can easily be used independently.

There venerable nuSoap library is an old standby.

0

精彩评论

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