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

4629Setting the SOAP server uri

Expand Messages
  • Matthew
    May 3, 2005
    • 0 Attachment
      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;

      SOAP::Transport::HTTP::CGI
      -> dispatch_to('Demo')
      -> handle;

      package Demo;

      (etc...)

      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.

      Matthew

      __________________________________________________
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail.yahoo.com
    • Show all 2 messages in this topic