uCosminexus Service Platform, Basic Development Guide

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

8.7 Service Requester That Sends Requests to a User-defined Reception (Web Services)

A service requester that sends request messages to a user-defined reception (Web services) communicates with the user-defined reception using SOAP. The service requester sends a service component execution request message to a user-defined reception, and an HCSC server performs service component execution.

The interface information of the user-defined reception (Web services) becomes the WSDL specified when you define the user-defined reception in the development environment. You generate a stub from the WSDL and use the stub to send a request to the user-defined reception (Web services).

Hint
When creating a service requester that sends requests to a user-defined reception (Web services), unlike a standard reception, you need not create a request message. A request message (SOAP message) of a format that matches WSDL is automatically generated in the service requester stub and a service component execution request is sent.

The following figure shows the relationship between a service requester that sends requests to a user-defined reception (Web Services) and an HCSC server:

Figure 8-31 Relationship between a service requester that sends requests to a user-defined reception (Web services) and an HCSC server

[Figure]

For a service requester that uses JAX-WS engine for communication, a service class is created instead of a stub. For details about how to create a service requester for a JAX-WS engine, see 8.7.7 Procedure for creating a service requester (User-defined Reception (Web Service)) (JAX-WS engine).

Organization of this section
8.7.1 Procedure (SOAP communication infrastructure)for creating a service requester (User-defined reception (Web Service))
8.7.2 Editing a WSDL
8.7.3 Creating Stubs
8.7.4 Generating Objects
8.7.5 Acquiring Response Messages
8.7.6 Acquiring Error Information
8.7.7 Procedure for creating a service requester (User-defined Reception (Web Service)) (JAX-WS engine)