NAME
XML::Compile::SOAP::WSS - Web Service Security used in SOAP
INHERITANCE
XML::Compile::SOAP::WSS
is a XML::Compile::WSS
XML::Compile::SOAP::WSS
is a XML::Compile::SOAP::Extension
SYNOPSIS
# use WSS via WSDL,
use XML::Compile::SOAP::WSDL11; # first
use XML::Compile::SOAP::WSS; # hooks into wsdl
# you really need next line
my $wss = XML::Compile::SOAP::WSS->new(version => '1.1');
my $wsdl = XML::Compile::WSDL11->new(...);
my $call = $wsdl->compileClient('some_operation');
# security header fields start with wss_ or wsu_
my $token = $wss->wsseBasicAuth($user, $password);
my ($data, $trace) = $call->(wsse_Security => $token, %data);
DESCRIPTION
The Web Service Security protocol is implemented by the super class XML::Compile::WSS. This extension seeks to integrate that specification with SOAP.
METHODS
Constructors
- XML::Compile::SOAP::WSS->new(OPTIONS)
-
-Option --Defined in --Default schema XML::Compile::WSS undef version XML::Compile::WSS <required>
- schema => XML::Compile::Cache
- version => '1.1'|MODULE
Attributes
Simplifications
- $obj->wsseBasicAuth(USERNAME, PASSWORD, [PWTYPE, OPTIONS])
- $obj->wsseTimestamp(CREATED, EXPIRES, OPTIONS)
Internals
SEE ALSO
SEE ALSO
This module is part of XML-Compile-WSS distribution version 0.90, built on August 30, 2012. Website: http://perl.overmeer.net/xml-compile/
Other distributions in this suite: XML::Compile, XML::Compile::SOAP, XML::Compile::SOAP12, XML::Compile::SOAP::Daemon, XML::Compile::SOAP::WSA, XML::Compile::C14N, XML::Compile::WSS, XML::Compile::Tester, XML::Compile::Cache, XML::Compile::Dumper, XML::Compile::RPC, XML::Rewrite, XML::eXistDB, and XML::LibXML::Simple.
Please post questions or ideas to the mailinglist at http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile For live contact with other developers, visit the #xml-compile
channel on irc.perl.org
.
LICENSE
Copyrights 2011-2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html