WSO2::WSF::WSFault - Create a WSFault object


WSO2-WSF-Perl documentation  | view source Contained in the WSO2-WSF-Perl distribution.

Index


NAME

Top

WSO2::WSF::WSFault - Create a WSFault object

SYNOPSYS

Top

  my $fault = new WSO2::WSF::WSFault( { FAULT_OPTIONS } );

DESCRIPTION

Top

A WSFault object stores all information related to a SOAP fault. Values of all arguments are strings. Usually this is used to represent the faults returned by which ever the calling service.

FAULT_OPTIONS

Top

code

SOAP fault code. SOAP fault codes are intended to provide a means by which faults are classified. Please see SOAP 1.2 spec for more information. This is a mandatory option.

reason

SOAP fault reason. Provides a human readable explanation of the fault. This is a mandatory option.

role

SOAP fault role. Identifies the role in which the SOAP processing node was operating at the time the fault occurred.

detail

SOAP Fault detail. Contains application specific error information.

xml

This will contain the request payload which resulted in the fault.

SEE ALSO

Top

Look at WSO2::WSF::WSClient to see how to pass a WSMessage and consume an existing Web service.

Mailing list, bug tracker, svn info can be found on the project web site at http://wso2.org/projects/wsf/perl

AUTHOR

Top

WSO2 WSF/Perl Team

COPYRIGHT AND LICENSE

Top


WSO2-WSF-Perl documentation  | view source Contained in the WSO2-WSF-Perl distribution.