Deployed Services

Services Service Groups Policies Parameters WSDL files Try It The Service List page allows you to manage different kinds of services and service groups. If your service is successful, it will appear on this page. If not, it will be indicated by the Faulty Service Groups link (which appears in red.)

Figure 1: Deployed Services

Services

The WSO2 Carbon provides many tools to manage the services that have been deployed successfully with WSO2 Server. When you deploy a single service in a service archive, the archive file name will always be used as the service file name, unless you have a name attributed to the service file. If the name of the service archive file is Test.aar, then the name of the service will be Test.

The Service Details page provides detailed information about a particular service.

Figure 2: Service Dashboard

Service Details

The Service Details panel provides the details of the service.

  1. Service Name
  2. Service Description
  3. Service Group Name
  4. Deployment Scope
  5. Service Type

Figure 3: Service Details

Service Statistics

The Statistics panel provides statistics of the service.

  1. Request Count
  2. Response Count
  3. Fault Count
  4. Max,Min,Average Response Times

Figure 4: Service Statistics

Response Time

The WSO2 Carbon provides a graphical view of the system response time.

Figure 5: Response Time vs Time

Endpoints

The WSO2 server is set to two endpoints by default.

  1. https://10.100.1.147:9443/services/HelloService/
  2. http://10.100.1.147:9763/services/HelloService/

Client Operation

WSO2 Carbon provides two client operations. They are, Try this service and Generate the Client.

Try this service

Figure 7: Client Operations

You can check whether your service provides the desired output using the TryIt option. When you click Try this service, you will be directed to the page where the operations available for your service will be displayed. You can find further details here.

Generate the client for your service

You can easily generate the client for your service using the WSO2 Carbon. The WSDL2 code options are available on the WSDL2Java page.

You will see the links to the WSDL 1.1 and the WSDL 2.0 files in the browser.

Service Groups

A service group is a convenient way of deploying multiple services in one service archive file. There is a logical relationship between the services at runtime. The only difference in the services.xml for a service group and a single service is its root element. For a service group, the root element is serviceGroup, and we have multiple service elements inside the serviceGroup element.

For example:

<serviceGroup>

<service name=Test1>

-----------------------------

<service>

<service name=Test2>

-------------------------------

</service>

</serviceGroup>

Click on the deployed service group(s) link in the service listing page to list the service groups.