Daniel Ruoso > Oak-SOAP-1.8 > Oak::SOAP::Application

Download:
Oak-SOAP-1.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Oak::SOAP::Application - SOAP Application for Oak::Controller objects

HIERARCHY ^

Oak::Object

Oak::Application

Oak::SOAP::Application

DESCRIPTION ^

This module creates a SOAP server for mapping the Oak::Controller objects to a uri. To do this, it will use a fourth parameter in the toplevel info passed to new. In a SOAP application, you need to set all the Toplevels to persistent. This is done, by setting to 1 the third parameter of the toplevel info.

METHODS ^

run(LocalAddr => $addr, LocalPort => $port, Listen => $num, Reuse => $bool)

The Oak::SOAP::Application uses the SOAP::Transport::TCP::Server module, provided by the SOAP::Lite CPAN package.

EXAMPLES ^

  use Oak::SOAP::Application;
  
  my $serv = new Oak::SOAP::Application
    (
     ctrlStates => ["ctrlStates","ctrlStates::DATA",1,1]
    );
  
  $serv->run
    (
     LocalAddr => 'localhost',
     LocalPort => 1234,
     Listen => 5,
     Reuse => 1
    );

COPYRIGHT ^

Copyright (c) 2001 Daniel Ruoso <daniel@ruoso.com> and Rodolfo Sikora <rodolfo@trevas.net> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.