Soap Fault Element

Source: Internet
Author: User

The soap fault element is used to preserve the error and status information of the SOAP message.

Soap Fault Element

The optional soap fault element is used to indicate error messages.

If a fault element is provided, it must be a child element of the Body element. In a SOAP message, the fault element can only appear once.

The Fault Element of soap has the following sub-elements:

Child Element Description
<Faultcode> Code for Fault Identification
<Faultstring> Fault description for users
<Faultactor> Information about who caused the fault
<Detail> Persists application-specific error messages involving the body Element
Soap fault code

The faultcode value defined below must be used in the faultcode element that describes the error:

Error Description
Versionmismatch Invalid namespace of the soap envelope element is found
Mustunderstand A direct sub-element of the Header element (with the mustunderstand attribute set to "1") cannot be understood.
Client Messages are incorrectly formed or contain incorrect information.
Server The server is faulty, so it cannot be processed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.