0% found this document useful (0 votes)
33 views

Lab Sheet 05

Uploaded by

pramuapex
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Lab Sheet 05

Uploaded by

pramuapex
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Department of ICT

Faculty of Technology
University of Ruhuna

ICT3253 – Distributed and Cloud Computing Level 3 - Semester – 2

Lab Sheet 05

Objectives:
Understanding of web services and creating a simple web service using Simple Object Access
Protocol (SOAP).

Part A

Answers the following questions and save your work as pdf file by using your index
number (Ex: Lab05_PartA_TGXXX.pdf) and submit it to the given submission link in the
LMS.

01. What is a web service?

02. There are mainly two types of web services. List down them.

03. Briefly discuss the features of web services.

04. Briefly explain about Web Services Description Language (WSDL) and Universal
Description, Discovery, and Integration (UDDI).

05. What is Simple Object Access Protocol (SOAP)? Explain it by using its characteristics.

06. Briefly explain message structure of SOAP.

07. List down advantages and disadvantages of SOAP.

08. What are the registries in SOAP?

09. Registries usually contain three categories of information. What are these categories?

1
Part B

Requirements:
 JDK
 NetBeans IDE 8.1
 Apache Tomcat 8.0.27.0
 SoapUI 5.7.1
Step 01
 Download and install SoapUI 5.7.1
 Check JDK
 Download and install NetBeans IDE 8.1.
Important: When installing the NetBeans, select Apache Tomcat 8.0.27.0 as the server
Step 02
 Create a new project

2
3
Step 03
Right Click on Project name  New  Web Service

4
Step 04
Create a java class.

5
Step 05
Include the following code within the java class.

Step 06
Convert the java class into web service class.

6
Step 07
Right Click on Project Name  Click Clean and Build
Step 08
Right Click on Project Name  Click Deploy
Step 09
Go to Web Services folder  Right click on calculator class  Click Test Web Service

Step 10
Copy the URL http://localhost:8084/MyCalculator/calculator?wsdl
Step 11
Open the SOAPUI  Click Soap
Paste the URL in Initial WSDL box

7
Step 12
Double click on request1 and type two arguments and run the program.

Part C

Create a simple web service for client and server communication using SOAP. You have to pass a
message between the client and server.

Part D

Create a lab report including all the exercises in Part B and C and rename it using your index
number (Ex: Lab_05_Report_TGXXX). Submit it together with all the files that you implemented
in exercises in Part B and C to the given submission link in the LMS.

You might also like