RE: [SOAP] SOAP Body Formation

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

 



This is what I thought, but my soap body needs to have 3 different
elements that each contain other elements

Example:

<header-info>
  ... 4-5 subelements
</header-info>
<card-info>
  ... 2 subelements
</card-info>
<add-wallet-content>
  ... 2 subelements
</add-wallet-content>

Do I use the parent nodes of each grouping as the key to an associative
array with the value being another array of the subelements? 


Ken Vandegrift
kvandegrift@sharis.com
Web Administrator
Sharis Mgmt. Corp

-----Original Message-----
From: Adam Maccabee Trachtenberg [mailto:adam@trachtenberg.com] 
Sent: Tuesday, June 27, 2006 11:30 AM
To: Knut Urdalen
Cc: Vandegrift, Ken; soap@lists.php.net
Subject: Re:  SOAP Body Formation

On Tue, 27 Jun 2006, Knut Urdalen wrote:

> Vandegrift, Ken wrote:
> > So my main question is this: Do I build the xml request as a string 
> > and create a SoapVar object and pass this as the parameter to the 
> > __soapCall function or do I build an array with the elements and 
> > values and pass this to __soapCall???

An array of elements. The goal of ext/soap is to prevent you from
needing to manupulate XML directly, either to construct the request or
parse the reply.

-adam

--
adam@trachtenberg.com | http://www.trachtenberg.com author of o'reilly's
"upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux