The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MyInterfaces::HelloWorld::HelloWorldSoap - SOAP Server Class for the HelloWorld Web Service

SYNOPSIS

 use MyServer::HelloWorld::HelloWorldSoap;
 my $server = MyServer::HelloWorld::HelloWorldSoap->new({
    dispatch_to => 'My::Handler::Class',
    transport_class => 'SOAP::WSDL::Server::CGI',   # optional, default
 });
 $server->handle();

DESCRIPTION

SOAP Server handler for the HelloWorld web service located at http://localhost:81/soap-wsdl-test/helloworld.pl.

SERVICE HelloWorld

Port HelloWorldSoap

METHODS

General methods

new

Constructor.

The dispatch_to argument is mandatory. It must be a class or object implementing the SOAP Service methods listed below.

SOAP Service methods

Your dispatch_to class has to implement the following methods:

The examples below serve as copy-and-paste prototypes to use in your class.

sayHello

 sub sayHello(
    my ($self, $body, $header) = @_;
    # body is a ??? object - sorry, POD not implemented yet
    # header is a ??? object - sorry, POD not implemented yet

    # do something with body and header...

    return  MyElements::sayHelloResponse->new(  {
    sayHelloResult =>  $some_value, # string
  },
 );

 }

AUTHOR

Generated by SOAP::WSDL on Sun Dec 2 01:20:36 2007