uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

8.3.10 Creating service requester for requesting confirmation of operation status of service adapter (Web Service and JAX-WS engine)

For the service requester requesting standard synchronous reception (Web Service), you can create a service requester requesting confirmation of operation status of the service adapter from the application.

To confirm the operation status of the service adapter, the service component generating a request to standard synchronous reception (Web Service) must be invoked and the process invoking the method of operation status confirmation must be added.

The following shows the procedure for creating service requester for requesting confirmation of operation status of service adapter from the application in standard synchronous reception (Web Service).

Figure 8-14 Procedure for creating service requester for requesting confirmation of operation status of service adapter (standard synchronous reception (Web Service and JAX-WS engine))

[Figure]

The following describes the operation of each process.

Organization of this subsection
(1) Acquiring WSDL
(2) Creating service classes
(3) Creating objects
(4) Specifying parameters
(5) Acquiring response messages
(6) Acquiring error information

(1) Acquiring WSDL

The method for acquiring WSDL is the same as for creating an ordinary service requester by generating a request in standard synchronous reception (Web Service).

For details about how to acquire WSDL, see 8.3.2 Acquiring WSDL.

(2) Creating service classes

The method for creating service classes is the same as for creating an ordinary service requester by generating a request in standard synchronous reception (Web Service).

For details about creating service classes, see 8.3.3 Creating service classes.

(3) Creating objects

The method for creating objects is the same as for creating a service requester in SOAP communication infrastructure.

For details about creating objects, see 8.3.9(3) Creating objects.

To invoke the service method, use the class object and implement as follows:

 
String result = ws.getServiceInfo(          // Invoking method
                       serviceName,         // Service name
                       clientID,            // Client correlation ID
                       "type=all,returnType=Properties");      // Options
 

(4) Specifying parameters

The parameter of the method argument is the same as for creating a service requester in SOAP communication infrastructure.

For details about specifying SOAP communication infrastructure parameters, see 8.3.9(4) Specifying parameters.

(5) Acquiring response messages

The method for acquiring response messages is the same as for creating a service requester in SOAP communication infrastructure.

SOAP communication infrastructure. For details about acquiring response messages, see 8.3.9(5) Creating request messages.

(6) Acquiring error information

Implementation of the service requester for acquiring error information is the same as for creating an ordinary service requester by generating a request in standard synchronous reception (Web Service).

For details about acquiring error information, see 8.3.8 Acquiring error information.