Loading ...
Sorry, an error occurred while loading the content.

898RE: [soaplite] Yet Another Serialization question

Expand Messages
  • Chris Davies
    Oct 11, 2001
      I'm sure Paul will correct me, but I think you wrap the array elements in a
      SOAP::Data->name chunk, something like this:

      'associatedDevices' => [

      I would suggest that in response to the second question, deciding whether to
      use type('xml') or not depends on whether you want your application or the
      SOAP layer to unravel your structure. My understanding is that type('xml')
      is treated as an opaque object by the SOAP layer, and it just passes it
      though unchanged.


      -----Original Message-----
      From: bill_rayburn@... [mailto:bill_rayburn@...]
      Sent: Thursday, October 11, 2001 9:48 AM
      To: soaplite@yahoogroups.com
      Subject: [soaplite] Yet Another Serialization question

      I'm trying to generate this in the SOAP body:

      The resulting body looks close, but I don't know how to specify the
      <device> tags.

      And why would I want to build the <newUser> element this way instead
      of using type('xml')? I could build methods on my objects that
      returned strings of xml -- what would be the downside to that?
    • Show all 5 messages in this topic