SOAP::WSDL::SOAP::Typelib::Fault11(3pm)

SOAP::WSDL::SOAP::Typelib::Fault113pm

Soap 1.1 fault class

Overview

Models a SOAP 1.1 Fault.

SOAP::WSDL::SOAP::Typelib::Fault11 objects are false in boolean context and serialize to XML on stringification.

This means you can do something like:

 my $soap = SOAP::WSDL::Client->new();
 # ...
 my $result = $soap->call($method, $data);
 if (not $result) {
     die "Error calling SOAP method: ", $result->get_faultstring();
 }

Methods

get_faultcode / set_faultcode

Getter/setter for object's faultcode property.

get_faultstring / set_faultstring

Getter/setter for object's faultstring property.

get_faultactor / set_faultactor

Getter/setter for object's faultactor property.

get_detail / set_detail

Getter/setter for detail object's detail property.

The detail element is a SOAP::WSDL::SOAP::Typelib::Fault11Detail object. This class is automatically loaded when using SOAP::WSDL::SOAP::Typelib::Fault11, so you can't use it separately.

Any string or object not of this class will be automatically wrapped into a detail object.

Note that passing a list of detail object is currently not supported (though the SOAP1.1 note allows this).

Repository information

 $Rev: 851 $
 $LastChangedBy: kutterma $
 $Id: Fault11.pm 851 2009-05-15 22:45:18Z kutterma $
 $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/SOAP/Typelib/Fault11.pm $

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

Author

Martin Kutter <martin.kutter fen-net.de>

From libsoap-wsdl-perl 3.004-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.