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

Re: complex types

Expand Messages
  • maheshgadwal
    Hi, I had already written a piece of code for constructing these kinds of complex request. you can see the message HOW TO - Access Nested SOAP Body Element
    Message 1 of 4 , Feb 13, 2004
    • 0 Attachment
      Hi,

      I had already written a piece of code for constructing these kinds of
      complex request. you can see the message "HOW TO - Access Nested SOAP
      Body Element"
      URL : http://groups.yahoo.com/group/soaplite/message/3350

      I hope that will also give you some idea.

      Regards,
      Mahesh Gadwal

      --- In soaplite@yahoogroups.com, "adcgjh" <adcgjh@y...> wrote:
      > -- This is a small portion of my SOAP::Data construct.
      >
      > SOAP::Data->name(varList =>
      > \SOAP::Data->name(Variable =>
      > \SOAP::Data->value(SOAP::Data->name(strVN => 'a1'),
      > SOAP::Data->name(objVV =>
      > \SOAP::Data->value(SOAP::Data->name(name => 'how'))))),
      >
      > \SOAP::Data->name(Variable =>
      > \SOAP::Data->value(SOAP::Data->name(strVN => 'a2'),
      > SOAP::Data->name(objVV =>
      > \SOAP::Data->value(SOAP::Data->name(name => 'how')))))
      > )
      >
      > -- I am trying to do the following:
      >
      > <varList>
      >
      <Variable><strVN>a1</strVN><objVV><name>how</name></objVV></Variable>
      >
      <Variable><strVN>ap2</strVN><objVV><name>how<name></objVV></Variable>
      > </varList>
      >
      > -- But I am getting this:
      >
      > <varList>
      >
      <Variable><strVN>a1</strVN><objVV><name>how</name></objVV></Variable>
      > </varList>
      > <varList>
      > <Variable><strVN>a2</strVN><objVV><name>how<name></objVV></Variable>
      > </varList>
      >
      > -- Any ideas on what I am doing wrong? Thank You
    Your message has been successfully submitted and would be delivered to recipients shortly.