Hi to every one
I am facing a strange problem with the web service that I am trying to integrate.
The wsdl for the web service is available online on this https://www.quiddiportal.com/quiddiservice.asmx?WSDL link and also I have stored the wsdl in a file WS.wsdl in my workspace.
The strange is that when I am passing the wsdl to SOAPClient using the URI (online & local) everything works fine. So when I put
$client = new SoapClient("http://localhost/myProject/WSDL.wsdl");
$client = new SoapClient("https://www.quiddiportal.com/quiddiservice.asmx?WSDL");
everything works fine.
But when I put only the name of the wsdl file.
$client = new SoapClient("WSDL.wsdl");
I get an "Gateway Time-out" error from the line where I call a function of the web service. I use Netbeans and I run the projects in my console. Although if I call the same code that gives me this error from a browser then everything works fine.
Do you have any idea why this is happening?