RE: Need a working SOAP example using PHP SOAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> not very helpful, but an apt quote from 'the man':
> http://fplanque.net/Blog/devblog/2005/12/21/rasmus_i_don_t_like_soap

Yeah, unfortunately, I *must* use SOAP. Not my choice, but politics and
company decree, blah blah...

> b, you should catch exceptions

These were the examples from the page. I didn't want to add extra
complexity.

> c, could you be having a problem related to the 
> allow_url_fopen ini setting?

Now we're talkin!

Okay, I made sure that allow_url_fopen and allow_url_include are both "on".
Verified via phpinfo();

Still no luck. :-\

However, this sparked an idea...

I have been using my WinXP and IE to hit my Gentoo notebook running
apache2/php/etc. (samba mounting the /home/machine/... to edit the files)

When I fired up KDE and hit the EXACT same pages (which are now local), they
magically worked!

So now the question is, what setting do I have to change in my php.ini file
to get remote requests to work?

> alternatively you may think soap.wsdl_cache_enabled is Off 
> but actually its being
> turned On somewhere?

It's off in the php.ini file, also specifically turned off in each
server.php file. Verified off via phpinfo();

> > It's also frustrating that the PHP SOAP function section 
> doesn't have an
> > example, nor even links to an example. :-\
> 
> there is quite a bit of example code in the SOAP section if 
> you ask me:
> 
> 	http://php.net/manual/en/function.soap-soapclient-construct.php

No. those are fragments of ways to call the methods. 
NOT full working examples of client/server/wsdl

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux