如何从wsdl页面获取详细信息
我一直在使用 http://www.mobilefish.com/services/web_service/ country.php?wsdl 文件以获取国家/地区地理详细信息。但我一直未能通过 nusoap 实现这一目标。请在这方面给我建议
<?php
require_once('ws/lib/nusoap.php'); //including the file
$client = new nusoap_client('http://www.mobilefish.com/services/web_service/countries.php?wsdl');
$geo = $client->call('countryInfoByIana', //calling the method of server object and
array('ianacode' => 'us'));
var_dump($geo);
?>
帮助指南是 http://www.mobilefish.com/tutorials /web_service/web_service_quickguide_countries.html 页面。请帮助我。
I have been using the http://www.mobilefish.com/services/web_service/countries.php?wsdl file to get the country geographic details. But i have been failing in achieving it by nusoap. Plz advise me on this regard
<?php
require_once('ws/lib/nusoap.php'); //including the file
$client = new nusoap_client('http://www.mobilefish.com/services/web_service/countries.php?wsdl');
$geo = $client->call('countryInfoByIana', //calling the method of server object and
array('ianacode' => 'us'));
var_dump($geo);
?>
The help guide is http://www.mobilefish.com/tutorials/web_service/web_service_quickguide_countries.html page. plz help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
将第二个参数设置为 true 以创建 wsdl 客户端
try this :
set second parameter as true to make wsdl client