and an unnecessary complication. The use of simple
and universal serialization languages, such as JSON, is a great
alternative for many interfaces. Of course, you use still have to use
XML B<to define
d for the SOAP envelope), but the actual
data (the "message parts" in WSDL) are just XSD::string (JSON encoded
strings) that carry associative arrays and perhaps even simple
objects. All our examples
t::Server::SNMP>
L<POE::Component::Client::SOAP>
L<POE::Component::Client::Stomp>
L<SOAP::Lite>
L<JSON>
=head1 AUTHOR
Alejandro Imass <ait@p2ee.org>
Alejandro Imass <aimass@corcaribe.com>
=head1 CO
ter::SOAP;
use POE::Component::Server::AsyncEndpoint::ChannelAdapter::Config;
use JSON; #optional
sub new {
my $class = shift;
# Init the new class w
STC};
unless ( $call->fault ) {
# Sample use of JSON Serialization
# (why JSON? see POE::Component::Server::AsyncEndpoint)
my $retval = fro
} ) {
$self->{fifo_id} = $fifo_id;
$self->{data} = from_json( $retval->{params} );
# publish the data on the MQ, and ask for RECEIPT