SOAP Protocol 2

Source: Internet
Author: User
Tags soap
   

The optional SOAP Fault element is used to persist the error and state information of the SOAP message.


SOAP Fault Element

The error message from the SOAP message is carried inside the Fault element.

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

The Fault element of SOAP is used for the following child elements:

child elements Description
<faultcode> Code for identification of faults
<faultstring> A description of the breakdown that can be read by people
<faultactor> Information about who is causing the failure
<detail> Persist application-specific error messages involving the BODY element

SOAP Fault Codes

The FaultCode value defined below must be used to describe the faultcode element in the failure:

Error Description
VersionMismatch Invalid namespace for SOAP Envelope element was found
MustUnderstand A direct child element of the Header element (with the MustUnderstand attribute set to "1") cannot be understood.
Client The message is incorrectly constituted or contains incorrect information.
Server There is a problem with the server, so it cannot be processed.

HTTP protocol

HTTP communicates on top of TCP/IP. The HTTP client connects to the HTTP server using TCP. After a connection is established, the client can send an HTTP request message to the server:

Post/item http/1.1host:189.123.345.239content-type:text/plaincontent-length:200

Related Article

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.