Table of contents
1.
Introduction
2.
What is SOAP?
3.
What is Katalon Studio?
4.
Why Use Katalon Studio?
5.
What is WSDL?
6.
Import SOAP Requests From WSDLs in Katalon
6.1.
Importing WSDLs Into Katalon Studio
6.2.
Working With Imported WSDLs​
7.
Frequently Asked Questions
7.1.
What is Katalon Studio?
7.2.
How Katalon helps people with no coding background?
7.3.
Are the Draft Requests stored in Request History?
7.4.
What can be done to a request selected from Request History?
7.5.
Does Katalon use Web Driver?
8.
Conclusion
Last Updated: Mar 27, 2024

Import SOAP requests from WSDLs in Katalon

Author Aashna Luthra
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Welcome Ninjas! Are you interested in knowing how to import SOAP requests from WSDLs in Katalon? Great! You are at the right place.

intro_image

In this blog, we will study how to import SOAP requests from WSDLs in Katalon. Before exploring this, we will first see what Katalon Studio, SOAP and WSDL are. Are you ready?

What is SOAP?

SOAP stands for Simple Object Access Protocol. It is a messaging protocol that creates web APIs with XML. Since XML can be easily understood, this markup language was used as the medium for exchanging data between applications. It works on transfer protocols like Hypertext Transfer Protocol (HTTP)SMTP(Simple Mail Transfer Protocol), and TCP(Transmission Control Protocol).  


It offers features like :

  • Send requests, receive responses and view them in simpler forms in multiple editors.
  • Provide authorization to the request.
  • Edit and view request headers.

What is Katalon Studio?

katalon logo

The automation testing software tool Katalon Platform was created by Katalon, Inc. Teams can test online, mobile, desktop, and APIs using the Katalon to produce cutting-edge digital goods. Based on Selenium, Katalon is one of the best and most used automated testing software with easy-to-use go-to features.

Why Use Katalon Studio?

  • Katalon meets the needs of non-programmers with its record and playback features and manual scripting for test case creation.
  • The test case generation process is enhanced by the built-in features, such as templates, frameworks, and integration with Jira, Git, Jenkins, etc. Only the test script automation is the user's responsibility.
  • Its test result reports are graphically intuitive and exportable to pdf and CSV file types.
  • Katalon Studio is compatible with third-party testing tools like Postman and Swagger.

What is WSDL?

A web service can be described using the XML notation known as Web Services Description Language (WSDL). A WSDL specification explains the web service provider's interface and instructs a client on constructing a web service request. The functionality of a SOAP web service is specified using WSDL. The ability to generate web service requests based on a WSDL file is essential for SOAP web service testing. Now let’s dive into how to import SOAP requests from WSDLs in Katalon.

Import SOAP Requests From WSDLs in Katalon

In this section, the following steps will help you learn how to import SOAP requests from WSDLs in Katalon.

Importing WSDLs Into Katalon Studio

Follow these steps to import a WSDL file into your project:

  • Either create a new or open an API/Web Service project. This is how Katalon Studio looks after the above step.
katalon studio
  • Right-click Object Repository > Import > From WSDL in the Tests Explorer panel.
import from wsdl

Working With Imported WSDLs

A WSDL may include several services. Specifically, 

  • Katalon Studio creates a SOAP request with a specific service function.
  • Katalon Studio parses the request object's content from the given WSDL into the appropriate fields, such as the Service Endpoint, SOAPAction, and Request message.


Given below images shows Katalon Studio creates multiple request objects with imported WSDLs.

Example 1: http://www.dneonline.com/calculator.asmx?WSDL

example1


Example 2: http://www.xignite.com/xCurrencies.asmx?wsdl

example2


From version 7.5.0 onward, you can manually edit the information in these fields. You must save your modification(s) to take effect when you replace any fields in the imported request object with new values.

  • Service Endpoint: This tab stores the service endpoint extracted from the WSDL file. If you'd rather, you can specify a different endpoint for the interface. The request object receives any value entered into this field.
  • SOAPAction: If the request method is SOAP, the SOAPAction is parsed in the HTTP header of the request.


We hope you have learned everything about how to import SOAP requests from WSDLs in Katalon. 🙌

Frequently Asked Questions

What is Katalon Studio?

The automation testing software tool Katalon Platform was created by Katalon, Inc. Teams can test online, mobile, desktop, and APIs using the Katalon to produce cutting-edge digital goods.

How Katalon helps people with no coding background?

Katalon Studio offers features like snippets, code references, and a debugger to help people with no coding background.

Are the Draft Requests stored in Request History?

Yes, Draft Requests are saved in Request History and can be accessed and retrieved from there.

What can be done to a request selected from Request History?

It can either be saved (converted into a web service object) or removed from the Request History Panel.

Does Katalon use Web Driver?

Katalon Studio uses the Selenium engine to automate web application testing. This indicates that Katalon uses the Selenium Web Driver technology while shielding consumers from the challenges of using Web Driver. 

Conclusion

In this article, we explored various things related to how to import SOAP requests from WSDLs in Katalon, leaving no stone unturned. We explored what Katalon studio is, its advantages, and its working with imported WSDLs.

We believe this article on how to import SOAP requests from WSDLs in Katalon was helpful. To learn more about Katalon, check out our articles on

 

Refer to our guided paths on Coding Ninjas Studio to learn more about DSA, System Design, Competitive Programming, JavaScript, etc. Enroll in our courses and refer to the problems available and mock tests. Take a look at the interview bundle and interview experiences for placement preparations.

Happy Learning Ninja!

Live masterclass