NAME

OpenFrame::Server::SOAP - Provide SOAP access to OpenFrame

SYNOPSIS

# in the server:
use OpenFrame::Server::SOAP;
my $h = OpenFrame::Server::SOAP->new(port => 8010);
$h->handle();

# in the client:
use SOAP::Lite +autodispatch =>
  uri => 'http://localhost:8010/',
  proxy => 'http://localhost:8010/';

my $url = "http://localhost/myapp/?param=5";
my $cookietin = OpenFrame::AbstractCookie->new();
my $direct = OpenFrame::Server::Direct->new();

my $response;
($response, $cookietin) = $direct->handle($url, $cookietin);

if ($response->code() == ofOK) {
  print $response->message() . "\n";
} else {
  print "Some sort of error. Drat.\n";
}

DESCRIPTION

OpenFrame::Server::SOAP provides a SOAP server which gives access to an OpenFrame application. The port that the SOAP server listens on is set by the value of the "port" key in the configuration, although it defaults to port 8010.

NOTES

File upload is not yet supported via SOAP.

AUTHOR

Leon Brocard <leon@fotango.com>