For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2005 > Re: [PEAR] SOAP, WSDL, Lit+Documents and multi-node lists









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] SOAP, WSDL, Lit+Documents and multi-node lists
Paul Wright

2005-03-17, 8:57 am

On Tue, 15 Mar 2005 23:29:16 -0500, Chuck Hagenbuch <chuck@horde.org> wrote:
> Quoting Paul Wright <wrighty@gmail.com>:
>
>
> $request = &new SOAP_Value('Requests', 'struct',
> array(new SOAP_Value('RoomRequest', 'struct',
> array(new SOAP_Value('RoomID', '', 1),
> new SOAP_Value('NumRooms', '', 3))),
> new SOAP_Value('RoomRequest', 'struct',
> array(new SOAP_Value('RoomID', '', 2),
> new SOAP_Value('NumRooms', '', 1)))));
>
> echo $request->serialize($client);
>
> Should do the trick.


Great, thanks for this it actually works compared to all the other
suggestions google threw up!

Paul.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com