脚本宝典收集整理的这篇文章主要介绍了PHP SoapClient请求:不是此服务的有效方法,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
<?PHP require_once('SoapClientAuth.PHP'); ini_set("soap.wsdl_cache_enabled","0"); #- Loading the WSDL document $server = "https://wsonline.seisint.COM/WsAccurint/Echotest?ver_=1.65"; $wsdl = $server . "&wsdl"; $client = new SoapClientAuth($wsdl,array( 'login' => $username,'password' => $password )); $tyPEs = $client->__getTypes(); VAR_dump($types); echo "</br>"; $req = $client->EchoTestRequest(array('ValueIn' => 'echo')); PRint $req->ValueOut; echo "</br>"; ?>
$functions = $client->__getFunctions (); var_dump ($functions);
EchoTestRequest不是一个有效的函数调用.正确的函数调用是EchoTest,它由函数变量转储来说明.
array(1) { [0]=> string(54) "EchoTestResponse EchoTest(EchoTestRequest $parameters)" }
以上是脚本宝典为你收集整理的PHP SoapClient请求:不是此服务的有效方法全部内容,希望文章能够帮你解决PHP SoapClient请求:不是此服务的有效方法所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。