Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

AwGateway
A SOAP Gateway into ActiveWorks Event Space

AwGateway - A SOAP Gateway into ActiveWorks Event Space


NAME

AwGateway - A SOAP Gateway into ActiveWorks Event Space


SYNOPSIS

use SOAP::Lite +autodispatch => uri => 'activeworks://myAwBroker:MyClientGroup@my.active.host:7449', proxy => 'http://my.proxy.server/soap/', on_fault => sub { my($soap, $res) = @_; die ref $res ? $res->faultdetail : $soap->transport->status, ``\n''; } ;


DESCRIPTION

AwGateway provides a simple means to convert a SOAP request into an ActiveWorks event. AwGateway is also a light weight alternative to the more comprehensive SOAP::Transport::ACTIVEWORKS module (which is not required). The AwGateway class provides a single method, relay, which must be passed a HASH reference that matches the structure of the ActiveWorks event type specified in the required '_event_type' field of the hash:

my %user =( # required! _event_type => ``Ac::UserNameQueryRequest'', _event_timeout => 150000, # optional strUserName => $ARGV[0], strISP => ``some_isp.net'', strFirstName => ``John'', strLastName => ``Doe'', strCustomerNumber => ``7654321'', );

my %reply = %{ AwGateway->SOAP::relay ( \%user ) } or die ( ``User \''$user{strUserName}\`` has no Account.'' );


AUTHOR

Daniel Yacob, yacob@rcn.com


SEE ALSO

perl(1). SOAP::Lite(3). SOAP::Transport::ACTIVEWORKS(3).

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy