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

4629Setting the SOAP server uri

Expand Messages
  • Matthew
    May 3, 2005
      In the SOAP Lite user guide (http://guide.soaplite.com/), you test many
      examples against a remote server. However, I'd like to test these examples
      locally. Where do I declare the server's URI in a perl server?

      If I save the first example on my server:

      #!perl -w

      use SOAP::Transport::HTTP;

      -> dispatch_to('Demo')
      -> handle;

      package Demo;


      How should I reference it from the test script?

      #!perl -w

      use SOAP::Lite;

      print SOAP::Lite
      -> uri('?')
      -> proxy('http://localhost/hibye.cgi')
      -> hi()
      -> result;

      Thanks for any help.


      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
    • Show all 2 messages in this topic