NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[SOLVED] - Problem accessing Webservice behind Firewall


Joined: 06 Jul 2010
Posts: 2
Reply with quote
Hello,

after spending hours to search for a solution i'll have to ask here!

I'm trying to connect to a Webservice that's located behind a firewall and only accessible via PortForwarding (Port 8082)

So the Webservice runs on Server A, which is Protected from Firewall B. Firewall B has a PF to A!

Now i'm trying to access the WSDL and it seems to work but at the end i get the following error:

HTTP Error: Couldn't open socket connection to server http://A prior to connect(). This is often a problem looking up the host name.

I think thats because my Webserver running the Soap Client doesn't know Server A because it's somewhere in the network behind the Firewall and can only be access
through the Portforwarding.

Does anybody have clue how i could manage to access the Webservice?

kind regards
hLa
View user's profileFind all posts by hLaSend private message


Joined: 06 Jul 2010
Posts: 2
Reply with quote
I just had to set the Endpoint different than provided by the WSDL File with $client->setEndpoint('URL');

Or the "location" directive in original PHP SOAP!

regards
View user's profileFind all posts by hLaSend private message
[SOLVED] - Problem accessing Webservice behind Firewall
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic