"soap12:fault" - Binding for SOAP Fault Details
This section describes 'soap12:fault', a SOAP extension element that specifies how the SOAP Fault Details should be constructed in a SOAP response message. 'literal' means no encoding.
"soap12:fault" is a SOAP extension element used as a sub element of the "wsdl:operation" element
inside the "wsdl:binding" element.
"soap12:fault" is used to provide information on how the content of the SOAP Fault Details element is constructed.
The syntax of "soap12:fault" looks like this:
<soap12:fault name="nmtoken" use="literal|encoded"
Notes on the "soap12:fault" element:
- name="nmtoken" - Specifying the fault message to be bound by referring a fault message
defined in the operation in the port type. There should be only 1 message part for a fault message.
- use="literal|encoded" - Indicates whether the message part
should be used as is (literal) or encoded. This is a required attribute.
If use="literal", the message part is referring to concrete a schema definition and
no encoding is needed.
If use="encoded", the message part is referring to abstract a schema definition and
concrete message can be produced by applying the specified encoding style.
- encodingStyle="uri" - Indicates encoding style(s) to be used in case of use="encoded".
- namespace="uri" - Indicates the namespace to be used in case of use="encoded".
An example of "soap12:fault" element will be added later.
Table of Contents
About This Book
Introduction to WSDL 2.0
WSDL 2.0 Document Structure and Syntax
WSDL Version 2.0 Part 2: Adjuncts
WSDL 2.0 Document Examples with SOAP Binding
Using WSDL Document in Java Apache Axis2/Java for WSDL
Apache Woden for WSDL Documents in Java
SoapUI - Web Service Testing Tool
PHP SOAP Extension for WSDL
Perl SOAP::Lite for WSDL
Introduction to WSDL 1.1
WSDL 1.1 Document Structure and Syntax
WSDL 1.1 Binding Extension for SOAP 1.1
SoapUI as WSDL 1.1 Testing Tool
WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles
PHP SOAP Extension for WSDL 1.1
Perl SOAP::Lite for WSDL 1.1
Apache Axis2/Java for WSDL 1.1
Using WSDL2Java to Generate Web Service Stub Classes
►WSDL 1.1 Binding Extension for SOAP 1.2
What Is WSDL 1.1 SOAP Extension
"soap12:binding" - Binding Message Style and Transportation
"soap12:operation" - SOAPAction Header Line
"soap12:body" - Binding for SOAP Body
►"soap12:fault" - Binding for SOAP Fault Details
"soap12:header" - Binding for SOAP Header
"soap12:address" - Location of Service
WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles
SOAP 1.2 Binding - PHP, Java and Perl Clients
WSDL Related Terminologies
Full Version in PDF/EPUB