NAME

W3C::SOAP::Base - Base module for build W3C::SOAP modules

VERSION

This documentation refers to W3C::SOAP::Base version 0.14.

SYNOPSIS

use W3C::SOAP::Base;

# post a SOAP action
my $client = W3C::SOAP::Base->new(
    location => 'http://some.where.com/',
);

$client->post('DO_SOMETHING', $xms_doc);

DESCRIPTION

W3C::SOAP::Base is the base class for W3C::SOAP clients. It provides the base attributes that are needed for sending SOAP requests.

ATTRIBUTES

location

The URL for the SOAP request

mech

No longer used

ua

A LWP::UserAgent compatible object which if not supplied will be lazily created.

response

The HTTP::Response object of the last returned response

log

An logging object that proves the following methods:

debug, info, warn, error and fatal
content_type

The value of the Content-Type HTTP header (defaults to text/xml;charset=UTF-8')

SUBROUTINES/METHODS

post ($action, $xml)

Performs the SOAP POST request.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

The environment variable W3C_SOAP_DEBUG_CLIENT can be used to show request and response XML.

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.