Understanding the web services definition
In the previous chapter, we developed three different web services, as follows:
GuestManagementService
RoomManagementService
ReservationService
Out of these three services, we will focus on the WSDL of the GuestManagementService
in this chapter. Once you are familiar with interpreting GuestManagementService
, you will be able to follow up with the other two services.
If you have not already done so, make sure to start axis2server by running axis2server
startup script (axis2server.bat
or axis2server.sh
) from AXIS2_HOME/bin
.
Open a browser and navigate to http://localhost:8080/services/GuestManagementService?wsdl
. You will find the structure of the WSDL of the service similar to the following diagram:
We will look into each of the key elements shown in the preceding diagram depicting the WSDL structure of the web service.
Schema
First, notice the schema section of the WSDL under the
wsdl:types
element, where the data types used by web service are...