Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value

by Anonymous Monk
on Jan 13, 2010 at 15:32 UTC ( [id://817198]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value
in thread Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value

Hello,

I do have the exact same problem, and unfortunatly it is not a warning but an error (from apache2 error log):

[Wed Jan 13 15:58:36 2010] [error] [client 172.31.1.19] Use of uninitialized value $ENV{"HTTP_TRANSFER_ENCODING"} in pattern match (m//) at /usr/local/share/perl/5.10.0/SOAP/Transport/HTTP.pm line 530.

Cgi scripts are running well otherwise.
Any possible solution or hint?

  • Comment on Re^3: Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value
  • Download Code

Replies are listed 'Best First'.
Re^4: Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value
by Anonymous Monk on Jan 15, 2010 at 09:20 UTC
    it is not a warning but an error (from apache2 error log):

    No sir, it is a warning. splain

    Use of uninitialized value $ENV{"HTTP_TRANSFER_ENCODING"} in pattern m +atch (m//) at /usr/local/share/perl/5.10.0/SOAP/Transport/HTTP.pm l +ine 530 (#1) (W uninitialized) An undefined value was used as if it were alread +y defined. It was interpreted as a "" or a 0, but maybe it was a mi +stake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell y +ou the name of the variable (if any) that was undefined. In some cases it + cannot do this, so it also tells you what operation you used the undefine +d value in. Note, however, that perl optimizes your program and the opera +tion displayed in the warning may not necessarily appear literally in y +our program. For example, "that $foo" is usually optimized into "that + " . $foo, and the warning will refer to the concatenation (.) operat +or, even though there is no . in your program.
    The part of that says "error" is just boilerplate generated by apache mod_log.
      Hello and thank you for your answer!

      If it is simply a warning, it shouldn't affect the program behavior and the code should execute itself correctly, isn't it?

      When I call the client perl program, the server add the previous error/warning line in the error log and it seems that nothing is returned to the client (it should return "hello, world".)

      I don't know what to do now to try to solve this problem :/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found