uCosminexus Service Platform, Basic Development Guide
This subsection describes the procedure for sending a request for executing the service component in standard synchronous reception (Web Service) to create a service requester for invoking the service component.
Figure 8-13 Procedure for creating a service requester (standard synchronous reception (Web service) (JAX-WS engine)
The operations of each process are as follows:
Acquire interface information of synchronous reception (Web Service) of the HCSC server invoking the service component. For details about acquiring WSDL, see 8.3.2 Acquiring WSDL.
Create the service class from WSDL acquired by 8.3.2 Acquiring WSDL. For details about creating service classes, see 8.3.3 Creating service classes.
To invoke the synchronous reception (Web Service) method, create a proxy class object from the service class generated in 8.3.3 Creating service classes. For details about creating the proxy class objects, see 8.3.4 Generating objects.
Specify parameters for the method argument of the synchronous reception (Web Service). For details about specifying parameters, see 8.3.5 Specifying parameters.
Create the request message to request execution of the service component. For details about creating request messages, see 8.3.6 Creating request messages.
From synchronous reception (Web Service), acquire the response message for the execution request of the service component. For details about acquiring response messages, see 8.3.7 Acquiring response messages.
If errors occur in the service component of the request destination, HCSC server, and the JAX-WS engine, acquire an error information and take action accordingly. For details about acquiring an error information, see 8.3.8 Acquiring error information.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.