ebXML::Message 0.03
ebXML::Message is a Perl module to encapsulate an ebMS message. SYNOPSIS use ebXML::Message; # create new message m
|
|||||||||||||||||||
ebXML::Message is a Perl module to encapsulate an ebMS message.
SYNOPSIS
use ebXML::Message;
# create new message
my $message = ebXML::Message->new
(
'CPAId' => 'http://www.you.org/cpa/123456',
'Action' => 'NewPurchaseOrder',
'MessageId' => 12,
'RefMessageToId' => 11,
'Service' => ebXML::Message::Service->new
(
VALUE => 'QuoteToCollect',
Type => 'myservicetypes',
),
);
# write SOAP XML using DOM
use XML::Xerses;
# DOM Document
my $target = XML::Xerces::StdOutFormatTarget->new();
$writer->writeNode($target,$message->getOutput('DOM-Doc');
# DOM generated / munged XML
print OUT $message->getOutput('DOM-XML');
# use message with SOAP::Lite to call webservice
use SOAP::Lite;
# SOAP::Data::Builder object
my $result = SOAP::Lite->uri('http://uri.to/WebService')
->proxy('http://uri.to/soap.cgi')
->parts($message->getMIMEParts)
->call($message->getOutput('SOAP-Data'))
->result;
# SOAP::Data::Builder generated / munged XML
print OUT $message->getOutput('SOAP-XML');
An ebXML message encapsulates all the details of an ebMS message.
ebXML is a mechanism for ensuring reliable delivery of XML-based messages via a transport mechanism such as SOAP. For more details on ebXML, see http://www.ebxml.org/
Large portions of this manual page are copied directly from the ebMS 2.0 specification.
Requirements:
tags
Download ebXML::Message 0.03
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
