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

Re: [soaplite] Strange behavior in SOAP

Expand Messages
  • rjray@blackperl.com
    Can you show us the code you were running? Some of the data-retrieval calls behave differently in scalar vs. list context. Randy --
    Message 1 of 3 , Sep 13, 2002
    • 0 Attachment
      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>
    • 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 2 of 3 , Sep 16, 2002
      • 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.