search

Home  >  Q&A  >  body text

About the problem of calling webservice in php

$url_webservice='http://59.52.225.147:8881/WebAPI'; // Interface
$param1 = '00002629';
$param2 = '13870651176';
$param3 = ' Wu Guoqiang';
$client = new \SoapClient($url_webservice.'/OTAInterface.asmx?wsdl',array('encoding'=>'UTF-8'));
=
// Parameter array (for specific methods)
$aryPara = array('CardNo'=> $param1,'TelePhone'=> $param2,'CardName' => $param3);
$getHtmlmap = $client->WXQueryCard($aryPara);



##Always reports

Could not connect to host

This error

emmmmmmemmmmmm2189 days ago1151

reply all(0)I'll reply

No reply
  • Cancelreply