What's is the needed configuration to enable SOAP?

This is a discussion on What's is the needed configuration to enable SOAP? within the PHP General forums, part of the PHP Programming Forums category; Hello all, I have a little problem with Soap. I programmed a script which works well on all server except ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-12-2007
Brice
 
Posts: n/a
Default What's is the needed configuration to enable SOAP?

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
Reply With Quote
  #2 (permalink)  
Old 08-12-2007
Stut
 
Posts: n/a
Default Re: [PHP] What's is the needed configuration to enable SOAP?

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/
Reply With Quote
  #3 (permalink)  
Old 08-12-2007
Tijnema
 
Posts: n/a
Default Re: [PHP] What's is the needed configuration to enable SOAP?

On 8/12/07, Brice <brice.favre@gmail.com> 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0