uCosminexus Service Platform, Basic Development Guide
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))
The following describes the operation of each process.
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.
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.
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 |
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.
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.
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.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.