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

Re: [soaplite] Yet another dumb question

Expand Messages
  • Jim Dixon
    ... You aren t passing any arguments to new(). The qw is at least unnecessary. Pass arguments like this: $rc = $soap- call(new = @parameters) ... You can of
    Message 1 of 3 , Mar 15, 2002
    • 0 Attachment
      On 14 Mar 2002, Joe Landman wrote:

      > In those codes I am doing things like this on the server side:
      >
      > my $daemon= SOAP::Transport::HTTP::Daemon
      > -> new (
      > LocalPort => 10101,
      > Listen => 10,
      > Reuse => 1
      > )
      > ->dispatch_to('ximple')
      > ->objects_by_reference(qw(ximple));
      > print "ximple server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n";
      > print "waiting for connection ...\n";
      > $daemon ->handle;
      >
      > and like this on the client side
      >
      > $soap = SOAP::Lite
      > -> uri('http://localhost/ximple')
      > -> proxy('http://localhost:10101/');
      >
      > $rc = $soap
      > -> call(qw(new))

      You aren't passing any arguments to new(). The qw is at least
      unnecessary.

      Pass arguments like this:

      $rc = $soap->call(new => @parameters)

      > -> result;

      You can of course replace @parameters with the actual parameters.

      --
      Jim Dixon jdd@... tel +44 117 982 0786 mobile +44 797 373 7881
      ---------- THAT'S A CHANGE OF ADDRESS: I'm no longer jdd@... --------
    Your message has been successfully submitted and would be delivered to recipients shortly.