SOAP and nested input

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

 



Hello!

If I need to pass nested input to a SOAP function; For example a function that requires these parameters:

<foo>bar</foo>
<foonest>
   <barnest>foobar</barnest>
</foonest>

Should I simply nest two arrays to the php soap function, i.e:
$client->foo(array("foo" => "bar", "foonest" => array("barnest" => "foobar"));

'm having some trouble with a SOAP server, and I'm not sure if I passed the params incorrectly or something else is wrong.

The exception I get is: Catchable fatal error: Object of class stdClass could not be converted to string.

Thanks for your time!

Regards Emil


--
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