Byrne Reese > SOAP-Lite-0.65_5 > SOAP::Transport::MQ

Download:
SOAP-Lite-0.65_5.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  29
Open  14
View/Report Bugs
Source   Latest Release: SOAP-Lite-0.69

NAME ^

SOAP::Transport::MQ - Server/Client side MQ support for SOAP::Lite

SYNOPSIS ^

Client
  use SOAP::Lite 
    uri => 'http://my.own.site.com/My/Examples',
    proxy => 'mq://server:port?Channel=CHAN1;QueueManager=QM_SOAP;RequestQueue=SOAPREQ1;ReplyQueue=SOAPRESP1',
  ;

  print getStateName(1);
Server
  use SOAP::Transport::MQ;

  my $server = SOAP::Transport::MQ::Server
    ->new('mq://server:port?Channel=CHAN1;QueueManager=QM_SOAP;RequestQueue=SOAPREQ1;ReplyQueue=SOAPRESP1')
    # specify list of objects-by-reference here 
    -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
    # specify path to My/Examples.pm here
    -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method')
  ;

  print "Contact to SOAP server\n";
  do { $server->handle } while sleep 1;

DESCRIPTION ^

COPYRIGHT ^

Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

Paul Kulchenko (paulclinger@yahoo.com)

syntax highlighting: