PEAR::SOAP still doesn't work ... (even the most simple examples)
| From: | Arne Wolf Kösling | Date: | Sun, 23 Nov 2003 14:43:19 +0000 |
| Subject: | PEAR::SOAP still doesn't work ... (even the most simple examples) | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1169@lists.php.net to get a copy of this message | ||
Hi,
PEAR:SOAP is not working.
I've tried so many examples now and the only one that works, is that amazon
example, which is too complex for me to understand.
I am so reliant on the Web Services with SOAP .... and I can t get it work.
I've tried the example from
http://talks.php.net/show/soap-forumduphp-paris2002/20
Maybe anyone can tell me, why that does not work for me.
I've done this :
1) i copied the two example-files off the site and i put it in the htdocs
dir of my apache webserver (named them client.php and server.php)
2) changed the SOAPClient address in the Client.php file from
http://localhost/server.php to http://<my-Webserver-IP>/server.php
3) executed the client.php by calling it from my webserver
It returned the answer below...and thats truely not what I have expected.
I must have made a mistake, but I don t know what to do
next..................
Please help. :(
Thanx in advance !
Regards,
Arne
--------------------
it returns this answer :
Content-type: text/html
X-Powered-By: PHP/4.3.2
X-Powered-By: PHP/4.3.2
Content-type: text/html
soap_fault Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => Client
[message] =>
[userinfo] =>
[backtrace] => Array
(
[0] => Array
(
[file] => c:\php4\pear\SOAP\Fault.php
[line] => 49
[function] => pear_error
[class] => pear_error
[type] => ::
[args] => Array
(
[0] =>
[1] => Client
[2] =>
[3] =>
[4] =>
)
)
[1] => Array
(
[file] => c:\php4\pear\SOAP\Base.php
[line] => 199
[function] => soap_fault
[class] => soap_fault
[type] => ->
[args] => Array
(
[0] =>
[1] => Client
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2] => Array
(
[file] => c:\php4\pear\SOAP\Client.php
[line] => 257
[function] => _raisesoapfault
[class] => soap_client
[type] => ->
[args] => Array
(
[0] =>
)
)
[3] => Array
(
[file] => D:\Client3.php
[line] => 13
[function] => call
[class] => soap_client
[type] => ->
[args] => Array
(
[0] => echoString
[1] => Array
(
[inputString] => this is a test
)
[2] => Array
(
[namespace] => urn:SOAP_Example_Server
[trace] => 1
)
)
)
)
[callback] =>
)
-----
I have changed only the