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

1279Re: [soaplite] duplicates

Expand Messages
  • JakeCigar
    Mar 6, 2002
    • 0 Attachment
      that old thread talks about how to do it using the "valueof()" syntax that reads the XML a bit too literally!
      It seems that Apache Soap sends almost every field with the name "item" and most of the rest as "value".
      I was thinking of some sort of deserializer?? though I have found no examples for array like deserializer functions! 
      Or running through the SOM in perl myself (straight perl)???  Find anything that came in as
      and change it to something like
                  SOAP-ENC:arrayType="xsd:string[4]" xsi:type="namesp2:Vector"
      Does anyone have ideas on other ways to find my Dupe Fields/Vectors?
      ----- Original Message -----
      Sent: Wednesday, March 06, 2002 12:00 AM
      Subject: Re: [soaplite] duplicates

      On 2002-03-05 JakeCigar wrote:
      >How do I access
      >    <value xsi:type="ns2:Vector">
      >        <item xsi:type="xsd:string">vector-zero</item>
      >        <item xsi:type="xsd:string">vector-one</item>
      >        <item xsi:type="xsd:string">vector-two</item>
      >        <item xsi:type="xsd:string"></item>
      >    </value>
      >    as sent by Apache's java soap software for a Vector or strings
      >    When I was expecting:
      >    <value SOAP-ENC:arrayType="xsd:string[4]" xsi:type="namesp2:Vector">
      >        <item xsi:type="xsd:string">Jake</item>
      >        <item xsi:type="xsd:string">says,</item>
      >        <item xsi:type="xsd:string">good</item>
      >        <item xsi:type="xsd:string">password</item>
      >    </value>
      >    As sent by a SOAP:Lite client, for a blessed array of strings.
      >For that matter, how do I access any duplicate tags as a part of the perl structure returned from ->result?
      >    <bar>drink</bar>
      >    <bar>talk</bar>
      >    <bar>leave</bar>
      >I don't want to just "leave".


      This is 'very frequently asked question'. The first thing to do is
      a search of the group's archive on Yahoo. There's a thread from
      last year which explains this:

      Duncan Cameron

      To unsubscribe from this group, send an email to:

      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    • Show all 5 messages in this topic