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

5032Accessing Data in SOAP Envelope

Expand Messages
  • matt_germonprez
    Nov 29, 2005
      Could someone give me some help on getting this data out with the perl
      code below. Not sure on this.

      Basically, I need all data inside of the root <item> tag. I'll
      continue to work but thought two heads are better than one.

      Thanks as always,


      <SOAP-ENC:Array xsi:type="SOAP-ENC:Array"

      <misses xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[4]">
      <item xsi:type="xsd:string">wick</item>
      <item xsi:type="xsd:string">quick</item>
      <item xsi:type="xsd:string">q wick</item>
      <item xsi:type="xsd:string">q-wick</item>
      <line_number xsi:type="xsd:int">0</line_number>
      <type xsi:type="xsd:string">miss</type>
      <offset xsi:type="xsd:int">6</offset>
      <term xsi:type="xsd:string">qwick</term>
      <line xsi:type="xsd:string">i am qwick</line>


      **************PERL CODE **************************

      #!/usr/bin/perl -w
      use CGI qw(:standard);
      use SOAP::Lite +trace => 'debug';

      $message = 'i am qwick';

      my $client = SOAP::Lite

      my $resp = $client
      ->spellcheck($message, "array");