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

Re: [soaplite] Stupid newbie question

Expand Messages
  • Byrne Reese
    No worries, this is one of the most commonly asked questions... I recommend you visit: http://majordojo.com/soaplite/ and see if you can t find your answer
    Message 1 of 2 , May 24 7:17 AM
    • 0 Attachment
      No worries, this is one of the most commonly asked questions...

      I recommend you visit: http://majordojo.com/soaplite/ and see if you
      can't find your answer there. In fact I am almost certain there are a
      whole set of topics on complex types. :)

      Dianne Van Dulken wrote:

      > Hi,
      >
      > I'm very new to soap, and have been searching for an answer to this
      > question, but haven't been able to find one (hoping that it isn't on the
      > front page of cpan now)
      >
      > I've been given an example XML string that we need to send via Soap. I
      > can work out what the uri and the proxy are from it fairly easily, but
      > then the XML has a double level amount of data that I can't for the life
      > of me work out how to insert into the data strings.
      >
      > What I mean is
      >
      > <soapenv:Body>
      > <uri proxy>
      > <stuffa>
      > <data1>blah</data1>
      > <data2>blah2</data2>
      > </stuffa>
      > <stuffb>
      > <data3>foo</data3>
      > <data4>bar</data4>
      > </stuffb>
      > </uri>
      > </soapenv>
      >
      > I've tried
      >
      > SOAP::Data->stuffa->data1('blah');
      >
      > But that doesn't work. How should I be doing this? SHOULD I be doing it
      > at all, or should I be doing something else to convert the XML to
      > something soap can actually work and send with?
      >
      > I hope that all makes sense and isn't too stupid a question
      >
      > Di
      >
      > *Yahoo! Groups Sponsor*
      > ADVERTISEMENT
      > <http://rd.yahoo.com/SIG=1291p2ore/M=295196.4901138.6071305.3001176/D=groups/S=1705701014:HM/EXP=1085553508/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>
      >
      >
      >
      > ------------------------------------------------------------------------
      > *Yahoo! Groups Links*
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/soaplite/
      >
      > * To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      > <mailto:soaplite-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service <http://docs.yahoo.com/info/terms/>.
      >
      >
    • Dianne Van Dulken
      Hi, I m very new to soap, and have been searching for an answer to this question, but haven t been able to find one (hoping that it isn t on the front page of
      Message 2 of 2 , May 24 11:38 PM
      • 0 Attachment
        Hi,

        I'm very new to soap, and have been searching for an answer to this
        question, but haven't been able to find one (hoping that it isn't on the
        front page of cpan now)

        I've been given an example XML string that we need to send via Soap. I
        can work out what the uri and the proxy are from it fairly easily, but
        then the XML has a double level amount of data that I can't for the life
        of me work out how to insert into the data strings.

        What I mean is

        <soapenv:Body>
        <uri proxy>
        <stuffa>
        <data1>blah</data1>
        <data2>blah2</data2>
        </stuffa>
        <stuffb>
        <data3>foo</data3>
        <data4>bar</data4>
        </stuffb>
        </uri>
        </soapenv>

        I've tried

        SOAP::Data->stuffa->data1('blah');

        But that doesn't work. How should I be doing this? SHOULD I be doing it
        at all, or should I be doing something else to convert the XML to
        something soap can actually work and send with?

        I hope that all makes sense and isn't too stupid a question

        Di
      Your message has been successfully submitted and would be delivered to recipients shortly.