eugenio63 has asked for the wisdom of the Perl Monks concerning the following question:
# server.cgi use My::SOAP::Server::Foo::FooSoap; my $server = My::SOAP::Server::Foo::FooSoap->new({ dispatch_to => 'main', transport_class => 'SOAP::WSDL::Server::CGI', # optional, default }); $server->handle(); sub register_user { my ($self, $body, $header) = @_; if ( not $foo ) { #throw exception here } return Educativa::SOAP::Elements::registrar_usuario_response->new( +{ usuario => 'Ok' #string }); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What module(s) should i use to throw a SOAP exception in my server
by Khen1950fx (Canon) on Mar 05, 2008 at 00:56 UTC |