Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: SOAP::Transport::TCP connection problems

by jwest (Friar)
on Sep 18, 2001 at 22:40 UTC ( #113168=note: print w/replies, xml ) Need Help??

in reply to SOAP::Transport::TCP connection problems

So, having taken the suggestions of both tye and derby, I found the following:

First, I stepped through the server using the Perl debugger. To my bemusement, the code worked flawlessly, and I got the results I expected.

Following that, I ran the code again without the debugger, and got the results reported previously.

Then I added the use SOAP::Lite +trace => qw( all ); lines to the code above, and received the following complaint from the server:

SOAP::Serializer::envelope: Client Application failed during request deserialization:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/XML/ line 185

Out of curiousity, I ran it through the debugger again with the new changes, and it works without err. At this point, I'm inclined to abandon my cause in favor of using SOAP::Transport::HTTP instead of pursuing this problem further.

Thanks, all


-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7

Replies are listed 'Best First'.
Re: Re: SOAP::Transport::TCP connection problems
by paulclinger (Initiate) on Sep 19, 2001 at 19:17 UTC
    Hi, jwest!

    Your code works for me (win98, Perl5.6.1), but there is a small (already fixed) problem in handling EWOULDBLOCK for non-blocking IO that may produce the results you're having. I'm not sure about the reason though, because I can't reproduce this error. Would you try with older version of SOAP::Lite (it has blocking IO)? Thanks.

    Best wishes, Paul.

      Heya, Paul-

      Thanks for another verification of my sanity. ;) I pulled SOAP::Lite version 0.50 down from the CPAN and re-ran the tests, and it worked without err. Looks like you may very well be on the right track. Let me know if there's any other info that I can provide to you that will let you confirm your suspicions.



      -><- -><- -><- -><- -><-
      All things are Perfect
          To every last Flaw
          And bound in accord
               With Eris's Law
       - HBT; The Book of Advice, 1:7

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113168]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2018-01-18 22:05 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.