Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: SOAP::Transport::TCP connection problems

by jwest (Friar)
on Sep 18, 2001 at 22:40 UTC ( [id://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/Parser.pm 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

--jwest

-><- -><- -><- -><- -><-
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.

      Thanks!

      --jwest


      -><- -><- -><- -><- -><-
      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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://113168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found