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

1750Passing Hashtables from Perl (again)

Expand Messages
  • calinm
    Aug 15, 2002
    • 0 Attachment
      Hello,

      I read the previous posts from people trying to pass Hashtable
      around. I wrote a method that takes nothing and returns a hashtable.
      It serialises it like below, as an array of MapEntries. What would I
      have to pass something like this from SOAP::Lite? I assume that java
      expects it serialized the way it's sending it away..

      <result xsi:type="ns1:hashtable" enc:arrayType="ns1:mapEntr[3]">
      <item xsi:type="ns1:mapEntry"><key
      xsi:type="xsd:string">two</key><value
      xsi:type="xsd:string">two</value></item><item xsi:type="
      ns1:mapEntry"><key xsi:type="xsd:string">one</key><value
      xsi:type="xsd:string">one</value></item><item
      xsi:type="ns1:mapEntry"><key xsi:type="xsd:string">three</key
      ><value
      xsi:type="xsd:string">boo</value></item></result></ans1:getHashtableRe
      sponse></env:Body></env:Envelope>

      I am using the Sun Java WSDP.

      Thanks!

      Calin
    • Show all 4 messages in this topic