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

Disable automatic server response

Expand Messages
  • mg150799
    Hello, I have the following Perl client (fragments): use SOAP::Lite + trace = qw(debug); my $client = SOAP::Lite - uri( http://localhost:8888/sc )
    Message 1 of 1 , Sep 29, 2006
    View Source
    • 0 Attachment
      Hello,

      I have the following Perl client (fragments):
      use SOAP::Lite + trace => qw(debug);
      my $client = SOAP::Lite
      ->uri('http://localhost:8888/sc')
      ->proxy('http://localhost:8888')
      ->encoding('UTF-8')
      ->readable(1);
      my $response = $client->deleteUser( ... );

      The server (server.pl):
      ...
      my $daemon = SOAP::Transport::HTTP::Daemon->new(
      LocalAddr => '127.0.0.1',
      LocalPort => 8888,
      Listen => 5,
      Reuse => 1
      );
      $daemon->dispatch_to( ... );
      $daemon->handle;

      Package with functions (sc.pm):
      ...
      sub deleteUser() {
      ...
      }

      Everytime the client is started the soap request is printed via "+
      trace" and deleteUser is doing what is expected. But when it
      terminates an automated response is sent to the client containg the
      return value of the function.

      How can i disable this response? (it should be a one-way communication)

      Thank you,
      Griesse
    Your message has been successfully submitted and would be delivered to recipients shortly.