| SOAP-Lite-SmartProxy documentation | view source | Contained in the SOAP-Lite-SmartProxy distribution. |
SOAP::Transport::HTTPX - Server/Client side HTTP Smart Proxy for SOAP::Lite
use SOAP::Lite +autodispatch =>
uri => 'urn:',
proxy => 'httpx://my.smart.server/soap',
on_fault => sub { my($soap, $res) = @_;
die ref $res ? $res->faultdetail : $soap->transport->status, "\n";
}
;
print Hello->SOAP::echo ( 'Paul' ), "\n";
The SmartProxy package is intended for use in a multi-server setting where one or more servers may not be directly accessible to client side scripts. The SmartProxy package makes request redirection and forwarding on a per class basis easy. Client scripts need not know which server is appropriate for a specific request and may make all requests from a single master server which can be relied upon to redirect clients to the server currently fulfilling a given request. The relieves a maintenance burden on the client side. The server may also redirect clients to a new class name or fully qualified action URI (methods and arguments are assumed to remain constant however).
The SOAP-Lite package.
See SOAP::Transport::HTTP
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.
Daniel Yacob (yacob@rcn.com) Paul Kulchenko (paulclinger@yahoo.com)
| SOAP-Lite-SmartProxy documentation | view source | Contained in the SOAP-Lite-SmartProxy distribution. |