开发者

PHP SoapCLient, Soap call giving an error in Drupal

开发者 https://www.devze.com 2023-03-16 23:08 出处:网络
I am getting the following error, when I try making a SOAP call. Warning: SoapClient::__doRequest() [soapclient开发者_Python百科.--dorequest]: php_network_getaddresses: getaddrinfo failed: Name or s

I am getting the following error, when I try making a SOAP call.

Warning: SoapClient::__doRequest() [soapclient开发者_Python百科.--dorequest]: php_network_getaddresses: getaddrinfo failed: Name or service not known in

and the error

HTTP-Could not connect to host

Things that I have ensured :

  • allow_url_fopen : is enabled.
  • The WSDL is being accessed. The server is not down.
  • I have set the SOAP time out to 15 seconds.


The IP of the host you are connecting to cannot be resolved. See my answer in

simplexml_load_file not working "php_network_getaddresses: failed: Name or service not known"

for what to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消