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

3049Re: Problems executing HelloWorld webservice...getting use of uninitialized value in concatenation

Expand Messages
  • Mike Klein
    Oct 8, 2003
    • 0 Attachment
      Problem was sample hello world application in book "Programming Web
      Services with SOAP" has an error.

      print SOAP::Lite
      -> uri('urn:Example1')
      -> proxy('http://www.vxappliance.com/soap/helloworld.cgi')
      -> sayHello($name)
      -> result . "\n\n";

      The uri line should read:

      -> uri('urn:Hello')

      I was able to find this out ONLY by changing a line in hw_client.pl from:

      use SOAP::Lite;

      to

      use SOAP::Lite + 'trace';

      Adding the trace command made it clear that the urn parameter was a
      problem and that is was prepending this value to sayHello, when it was
      really the package name Hello that needed to be prepended.
    • Show all 2 messages in this topic