ASNMTAP
view release on metacpan or search on metacpan
lib/ASNMTAP/Asnmtap/Plugins/SOAP.pod view on Meta::CPAN
customArguments: SCALAR, ARRAY, HASH,
REF SCALAR, REF ARRAY, REF HASH
=item proxy
This lets you specify an endpoint (service address) and also loads the required module at the same time.
proxy: 'http://services.soaplite.com/hibye.cgi'
When using SOAP with basic authentication you can add username and password to your URL as follows:
proxy: 'http://USERNAME:PASSWORD@services.soaplite.com/hibye.cgi'
a required scalar.
=item credentials
Set the user name and password to be used for a realm.
credentials: [ $hostname_port, $realm, $username, $password ]
[ 'secure.citap.be:443', "ASNMTAP's Authorization Access", 'USERNAME' => 'PASSWORD' ]
a optional array.
=item namespace
Sets the URI that will be used as the namespace for the resulting XML entity.
namespace: 'http://www.soaplite.com/Demo'
a required scalar.
=item registerNamespace
The register_ns subroutine allows users to register a global namespace with the SOAP Envelope.
registerNamespace:
%soapService_Register_NS = (
'http://schemas.xmlsoap.org/wsdl/mime/' => 'mime',
'http://www.w3.org/2001/XMLSchema' => 's'
);
a required hash.
=item method
The name is what the serializer will use for the tag when generating the XML for this object.
method: SOAP::Data->name(hi)->attr( {xmlns => 'http://www.soaplite.com/Demo'} );
a required SOAP::Data->name definition
=item soapaction
This lets you specify a handler for on_action event. It is triggered when creating SOAPAction.
The default handler will set SOAPAction to "uri/method".
You can change this behavior, for a particular object to "uri/soapaction".
To remove the soapaction you say soapaction => '',
optional scalar, soapaction
=item xmlContent
Parsing XML formatted data.
xmlContent:
<soapRequest>
<registrationType>xmlRegistrationType</registrationType>
<language>xmlLanguage</language>
<orderBy>xmlOrderBy</orderBy>
</soapRequest>
optional scalar, xmlContent is one XML
=item params
params: SOAP::Data->name('req')->type('string')->value(xmlContent);
optional scalar, params is one SOAP::Data->name definition
=item envprefix
optional, envprefix, default 'soapenv'
=item encprefix
optional, encprefix, default 'soapenc'
=item encodingStyle
To change the encodingStyle you say encodingStyle => 'http://schemas.xmlsoap.org/soap/envelope/',
To remove the encodingStyle you say encodingStyle => '',
=item readable
This lets you specify the format for the generated XML code.
Carriage returns <CR> and indentation will be added for readability.
Useful in the case you want to see the generated code in a debugger.
By default, there are no additional characters in generated XML code.
optional, readable can be 0 or 1
0, there are no additional characters in generated XML code (default)
1, carriage returns <CR> and indentation will be added for readability
=item cookies
For clients that are sensitive to cookie-based authentication.
optional, cookies can be 0 or 1
0, without cookies (default)
1, with cookies
=item perfdataLabel
This means that there performance data will be created and the name for the label equals the value from perfdataLabel.
Is an scalar (value is a string), ex. 'Label x'
=item PATCH_HTTP_KEEPALIVE
optional, PATCH_HTTP_KEEPALIVE can be 0 or 1
0, without PATCH_HTTP_KEEPALIVE (default)
1, with PATCH_HTTP_KEEPALIVE
=item WSRF
optional, WSRF can be 0 or 1
0, without WSRF::Lite (default)
1, with WSRF::Lite
=item TYPE_ERROR_RETURN
optional, TYPE_ERROR_RETURN can be REPLACE, APPEND, INSERT, COMMA_APPEND or COMMA_INSERT
REPLACE : replace error (default)
APPEND : append to error
INSERT : insert to error
COMMA_APPEND : add comma and append to error
COMMA_INSERT : add comma and insert to error
=back
=back
=head1 EXPORT
=head2 TAGS
( run in 0.346 second using v1.01-cache-2.11-cpan-483215c6ad5 )