自从更改服务器后,SOAP_WSDL 停止工作
我在预生产服务器上有一个工作网站,所有功能都正确响应。该站点使用 SOAP 来请求我们的客户端服务器。
它使用两种基本功能,一种用于搜索项目,另一种用于获取特定项目的详细信息。由于我已将网站安装到生产服务器中,因此搜索仅返回“null”(另一个工作正常)。
我使用梨 SOAP 0.12.0。 http://pear.php.net/package/SOAP/
这是代码示例:
include_once("./SOAP/Client.php");
$wsdl = new SOAP_WSDL('http://webservice.homeresa.com/WebHR.asmx?WSDL');
$getservice = $wsdl->getProxy();
$results = $getservice->Function($var1, $var2, $var3);
有谁知道发生了什么吗?我错过了什么吗?
另外,是否可以以某种方式调试 SOAP 调用?
提前致谢。
I have a working website on a pre-production server, all functions are responding correctly. The site uses SOAP to request our clients server.
It uses two basic functions, one for searching items and other one to get the details of an specific item. Since I've installed the website into the production server, the search one just return "null" (the other one works fine).
I use pear SOAP 0.12.0. http://pear.php.net/package/SOAP/
Here's an example of the code:
include_once("./SOAP/Client.php");
$wsdl = new SOAP_WSDL('http://webservice.homeresa.com/WebHR.asmx?WSDL');
$getservice = $wsdl->getProxy();
$results = $getservice->Function($var1, $var2, $var3);
Has anyone any idea of what's happening? Am I missing something?
Also, is it possible to debug someway the SOAP calls?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我的客户忘了告诉我,有一份 pdf 文件包含有关 Web 服务的文档。它受到 IP 限制,所以...这就是问题所在。我联系他们允许新主人。
Ok, my client forgot to tell me that there's one pdf with documentation about the webservice. It was IP restricted, so... that was the problem. I contacted them to allow the new host.