class %SOAP.Fault12
extends %RegisteredObject, %XML.Adaptor
Cache class to represent a SOAP 1.2 fault.
%SOAP.Fault12 should only be used if SOAPVERSION is set to "1.2" or
that at least SoapVersion="1.2" meaning that this web service request is
SOAP 1.2 is format.
The %SOAP.Fault class will work with SOAP 1.1 or SOAP 1.2. However, the
fault functionality is limited to that of SOAP 1.1 fault.
parameter NAMESPACE = "http://www.w3.org/2003/05/soap-envelope";
NAMESPACE specifies the XML namespace to be used when projecting the
class to XML. if NAMESPACE - "", the default namespace is used for the XML schema
is used as the namespace for his class.
parameter XMLTYPE = "Fault";
This parameter provides the default XMLTYPE for the class. If it is
empty then the class name will be used to construct a default XML type.
The default XMLTYPE is used when naming and referencing this type
in a schema and the schema context did not provide an XML type name.
property Code
as %SOAP.Fault12.Code [ Required ];
The SOAP fault code as defined in the SOAP definition.
property Detail
as %XML.String(MAXLEN="");
XML element that gives error details.
The contents of detail will not be escaped.
property Node
as %String(MAXLEN="");
Node that generated the fault. Optional for the destination node.
property Reason
as list of %SOAP.Fault12.Text(XMLITEMNAME="Text") [ Required ];
Human readable message
property Role
as %String(MAXLEN="");
Role that the node was operating in.
property faultPrefixDefinition
as %String(MAXLEN="",XMLPROJECTION="NONE");
Optional prefix definition attribute to be added to Fault element.
Usually of the form xmlns:prefix="namespace"
method AsString()
as %String
Return this SOAP fault as a string.