[PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Brice
Hello all,

I have a little problem with Soap. I programmed a script which works
well on all server except one. I had an 'HTTP Error : Couldn't open
socket connection to server' Too bad for me it's the main one.

I wonder if  there is a configuration problem? I just saw that socket
is disabled on the main server. Is soap extension needs to enable
socket? Google and php documentation said nothing about that.

Thanks in advance for your help.

Brice Favre

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Stut

Brice wrote:

I have a little problem with Soap. I programmed a script which works
well on all server except one. I had an 'HTTP Error : Couldn't open
socket connection to server' Too bad for me it's the main one.

I wonder if  there is a configuration problem? I just saw that socket
is disabled on the main server. Is soap extension needs to enable
socket? Google and php documentation said nothing about that.


Just a guess, but maybe it's slightly within the realms of possibility 
that the server cannot make a connection to the other server for some 
network-related reason. Are you sure that server has a route to the 
server it's trying to talk to? No firewalls in the way? Is the target 
server working properly?


If you were missing a component required for your code to work PHP would 
tell you that. The error you're getting simply indicates that it cannot 
make a connection to the target server.


-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Tijnema
On 8/12/07, Brice [EMAIL PROTECTED] wrote:
 Hello all,

 I have a little problem with Soap. I programmed a script which works
 well on all server except one. I had an 'HTTP Error : Couldn't open
 socket connection to server' Too bad for me it's the main one.

 I wonder if  there is a configuration problem? I just saw that socket
 is disabled on the main server. Is soap extension needs to enable
 socket? Google and php documentation said nothing about that.

 Thanks in advance for your help.

 Brice Favre


Is it the same server you are trying to do a SOAP request to? if so,
you should use 127.0.0.1/localhost to connect to, instead of the
server name/ip

Also keep in mind that you can not always connect through the external
IP of a server, but that you need to use internal IP sometimes when
they are in LAN or such..

Tijnema
-- 
Vote for PHP Color Coding in Gmail! - http://gpcc.tijnema.info

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php