SOAP request from remote Linux server is not working

Avatar
  • Answered
Please I need your help:
I am trying to connect to and make a SOAP request from a remote Linux based web server and this the error message that displays:


Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from

'http://68.169.57.64:8080/transflow_webclient/services/InvoicingService?wsdl' : failed to load external entity
"http://68.169.57.64:8080/transflow_webclient/services/InvoicingService?wsdl" in /home/username/public_html/api/transflow_sw.php:26

Stack trace:
#0 /home/username/public_html/api/transflow_sw.php(26): SoapClient->SoapClient('http://68.169.5...', Array)
#1 {main} thrown in /home/username/public_html/api/transflow_sw.php on line 26.



What is the way out? The strange thing, however, is that it works perfectly when I made the request from the localhost.
Avatar
CaseyB
Hello,

Thank you for your question about using SOAP to connect between servers. Have you tried a test connection not using SOAP to make sure that the servers are able to connect successfully? What port are you connecting to the destination server with?

Gratefully,
Casey B.