uCosminexus Service Platform, Basic Development Guide

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

8.7.1 Procedure (SOAP communication infrastructure)for creating a service requester (User-defined reception (Web Service))

This subsection explains how to create a service requester that sends a service component execution request to a user-defined reception (Web services) and invokes a service component.

Figure 8-32 Workflow for creating a service requester (user-defined reception (Web services)) (SOAP communication infrastructure)

[Figure]

The tasks in the individual steps are described below.

Organization of this subsection
(1) WSDL editing
(2) Stub creation
(3) Object generation
(4) Response message acquisition
(5) Error information acquisition

(1) WSDL editing

Check the definition contents of the user-defined reception and edit the WSDL contents required for stub creation. For details about WSDL editing, see 8.7.2 Editing a WSDL.

(2) Stub creation

Create stubs from the WSDL edited in 8.7.1(1) WSDL editing. For details about stub creation, see 8.7.3 Creating Stubs.

(3) Object generation

To invoke a method of user-defined reception (Web services), use stubs created in 8.7.1(2) Stub creation to generate objects. For details about object generation, see 8.7.4 Generating Objects.

(4) Response message acquisition

Acquire a response message corresponding to the service component execution request from the user-defined reception (Web services). For details about response message acquisition, see 8.7.5 Acquiring Response Messages.

(5) Error information acquisition

If an error occurs at the request-destination service component, the HCSC server, or the SOAP engine, acquire the error information and take corrective action according to the information. For details about error information acquisition, see 8.7.6 Acquiring Error Information.