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

SV: [soaplite] Strange behavior in SOAP

Expand Messages
  • Bouche
    I cant cut and paste all the code here, because it s a a big app.. ..but what happens is I call the remote soap-server and I get the response in $response , I
    Message 1 of 3 , Sep 16 2:53 AM
    • 0 Attachment
      I cant cut and paste all the code here, because it's a a big app..

      ..but what happens is I call the remote soap-server and I get the
      response in $response , I don't extract all the info from the respone,
      just the things I need.

      The resultCauseText I have problems with I get this way :

      my $utf8_resultCauseText =
      utf8(&KAPAKSfunc::strip_blanks($response->{'listOfProductReplies'}->{'it
      em'}->{'connectionProperties'}->{'listofLinePartProperties'}->{'item'}->
      {'service'}->{'listOfResultCause'}->{'item'}->{'resultCauseText'}));
      my $resultCauseText = $utf8_resultCauseText->latin1;

      I understand that this will never work so I tried looping through it
      (each item), since I had several items......but that would'nt work
      either...

      Any help is deeply appreciated :)

      -Stig



      -----Opprinnelig melding-----
      Fra: rjray@... [mailto:rjray@...]
      Sendt: 13. september 2002 10:59
      Til: Bouche
      Kopi: soaplite@yahoogroups.com
      Emne: Re: [soaplite] Strange behavior in SOAP


      Can you show us the code you were running? Some of the data-retrieval
      calls behave differently in scalar vs. list context.

      Randy
      --
      """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
      """""""
      Randy J. Ray
      rjray@...
      Campbell, CA
      rjray@...
      <A HREF="http://www.svsm.org">Silicon Valley Scale Modelers</A>
    Your message has been successfully submitted and would be delivered to recipients shortly.