Home  >  Article  >  Backend Development  >  国政通的接口soapclient不成功,该如何处理

国政通的接口soapclient不成功,该如何处理

WBOY
WBOYOriginal
2016-06-13 11:54:401050browse

国政通的接口soapclient不成功
如题

具体情况是我有一台生产机一台测试机  生产机上一切正常 测试机上

<br />$soap = new SoapClient ("http://gboss.id5.cn/services/QueryValidatorServices?wsdl" );<br />

就不成功

漫长的等待后提示:

<br />SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://gboss.id5.cn/services/QueryValidatorServices?wsdl' <br />


测试机和生产机环境基本上一致 soap扩展都开了
------解决方案--------------------
经多次访问尝试,确认该 url 不可访问
若你处可以访问,则可能他限制了访问来源或 dns 没有传递到
------解决方案--------------------

我们都打不开阿 是不是对外网作了限制?防火墙?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn