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

Re: Setting the SOAP server uri

Expand Messages
  • obc_spike
    ... examples ... I ll answer my own question here. If the package on the server is called Demo ... ... Matthew
    Message 1 of 2 , May 4 7:57 AM
    • 0 Attachment
      --- In soaplite@yahoogroups.com, Matthew <obc_spike@y...> wrote:
      > 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?

      I'll answer my own question here. If the package on the server is
      called "Demo"...

      > package Demo;

      You reference it this way from the test script (urn: + package name):

      > #!perl -w
      >
      > use SOAP::Lite;
      >
      > print SOAP::Lite
      > -> uri('urn:Demo')
      > -> proxy('http://localhost/hibye.cgi')
      > -> hi()
      > -> result;

      Matthew
    Your message has been successfully submitted and would be delivered to recipients shortly.