PHP利用SOAP调用asmx文件

extension = php_soap.dll
extension = php_curl.dll
extension = php_openssl.dll

<?php header("content-type:text/html;charset=utf-8"); $client = new SoapClient("http://url/ooxx.asmx?wsdl"); $param = array('参数'=>'值','参数'=>'值'); $p = $client->__soapCall('调用方法名',array('parameters' => $param)); print_r($p->调用方法名Result); ?>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/99a5bfe3fc7bd609e934935fa2a3e46f.html