Learn about SOAP message

To request a SOAP Web Service with some data, we need to build this data as a SOAP message, otherwise, the SOAP Web Service will not process the request. Therefore, it is essential to understand the structure and content of a SOAP message so that we can successfully request a SOAP Web Service. In this tutorial, we will learn together about SOAP message.

A SOAP message is a formatted message in XML format. This includes an out-of-box root tag named <Envelope>, which will contain 2 tags inside including a nullable <Header> tag and a mandatory <Body> child tag. The <Body> tag may contain another <Fault> child tag to contain an error which happing when a SOAP Web Service process request.

Here is a simple example of a SOAP message.

Chia sẽ bài viết này ...Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment