RE: [PEAR] SOAP returning values is flakey
| From: | Mike Carter | Date: | Wed, 22 Jan 2003 09:27:00 +0000 |
| Subject: | RE: [PEAR] SOAP returning values is flakey | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3394@lists.php.net to get a copy of this message | ||
Hi all,
I solved this (I think) by ensuring always_populate_raw_post_data = On in my
php.ini file. I read about this change in the PECL SOAP docs.
Up until yesterday it was commented out by default?
- Mc
> -----Original Message-----
> From: Shane Caraveo [mailto:shane@caraveo.com]
>
> Sounds like something at the http level is having a problem and the
> fault is not getting set correctly. Do your http logs show
> any problems? Shane
>
> Mike Carter wrote:
> > Hi,
> >
> > I have a SOAP server running and a client connecting to it. I'm
> > getting worried as during development I have noticed that
> the chance
> > of getting the return value from a SOAP method seems random. Some
> > times it will return fine, other times nothing comes back - doing a
> > var_dump of the return value from the $soapclient->call() it simply
> > displays:
> >
> > object(soap_fault)(7) { ["error_message_prefix"]=> string(0) ""
> > ["mode"]=>
> > int(1) ["level"]=> int(1024) ["code"]=> string(4)
> > "HTTP"
> ["message"]=>
> > string(0) "" ["userinfo"]=> string(0) ""
> > ["callback"]=> NULL }
> >
> > Which is not very helpful! Sometimes when I've refreshed
> the pages a
> > lot I've received a "Invalid HTTP Response" too :-/
> >
> > Is this a bug or an obvious mistake I've made in using the SOAP
> > implementation?
> >
> > I really hope somebody can help me out of this problem :-)
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________