Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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 ( #817592=note: print w/ replies, xml ) Need Help??


in reply to Re^3: 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

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.


Comment on Re^4: Problem with SOAP::Lite, getting the output from the SOAP server as a complete program and not the return value
Download Code
Re^5: 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 18, 2010 at 09:20 UTC
    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 :/

        Thank you for your answer. It helped me to solve my problem. The problem was caused by a misspelling in the URI in the client program.

        Now everything is working well :)

        Best regards!

        Thank you again.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-08-31 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls