Categories: API Testing

API Testing Tutorial Part 10 – Introduction of SOAP (Simple Object Access Protocol)

Hello Folks,

As part of our API Testing series, we will see “Introduction of SOAP” in this post.

SOAP stands for “Simple Object Access Protocol“.

Protocol is a set of rules which are followed to achieve something or need to follow if performing specific things. For example: There are a set of rules defined for Applying for a passport. Everyone needs to follow that to get a passport. It provides a standard. In the same way, we have protocol defined for specific actions in Software industry. For example:

HTTP (Hypertext Transfer Protocol) – Protocol to transfer raw data across internet

FTP (FIle Transfer Protocol) – Protocol to transfer files over internet.

So, SOAP is a communication or messaging protocol as it allows you to exchange information in form of XML between two independent systems or applications over a network i.e. Web Services. It is a XML based protocol as it uses JAX-WS, which is a Java API for XML web services. SOAP defines a set of rules for structuring messages that can be used for simple one-way messaging or request-response dialogues.

SOAP is a platform and language independent i.e. we can use any programming language and platform to develop web services using SOAP. It also uses other protocols like HTTP, SMTP protocols for receiving and transmitting XML-format messages.

A web service developed using SOAP, sends a request to an end point. This request is constructed using SOAP components such as Envelope, Header, Body and Fault. This request hits an end point and response is sent back to client in xml.

SOAP uses WSDL (Web Services Description Language) to describe a web services or says what this web service does in XML which includes Endpoints, Input/Output message format etc.

So summary of this post is that “SOAP is a protocol which is used to develop web services which allows communication between systems in form of XML over any transport protocol such as HTTP“.

If you have any doubt, feel free to comment below.
If you like my posts, please like, comment, share and subscribe.
#ThanksForReading
#HappyApiTesting

Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 4+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went throw so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 4+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went throw so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

Recent Posts

API Testing Tutorial Part 12 – Tools For Manual & Automation API Testing

Hello Folks, As part of our API Testing series, we will see "Tools to test SOAP and REST APIs manually and…

2 days ago

API Testing Tutorial Part 11 – Difference Between SOAP and Rest Web Services or API

Hello Folks, As part of our API Testing series, we will see "Difference between SOAP and REST web services" in…

3 days ago

Advanced Selenium Concepts – Custom Select Class – Select Value Containing Specific Text in Drop down

Hello Folks, Most of us we know that to handle a dropdown developed using Select tag, we can use inbuilt…

4 days ago

Advanced Xpath Concept – Method normalize-space & Its Usage

Hello Folks, In this post we will going to learn an advanced concept of xpath: - normalize-space method.  Before we discuss…

5 days ago

TestNG Tutorials 52: DataProvider in TestNG – Accessing DataProvider Methods From Another Class Test Class

Hello Guys, Now we have good understanding of DataProviders in TestNG from previous articles. If you have not read my…

3 weeks ago

TestNG Tutorials 51: DataProvider in TestNG – Two Dimensional Array DataProvider Method

Hello Folks, In last post, we have seen Basics of DataProvider in TestNG and its working logic with one dimensional…

3 weeks ago