uCosminexus Service Platform, Basic Development Guide

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

Appendix G.2 How to emulate the service requester

This section describes the procedure of testing with the Web Service Explorer using the Product Arrangement Sample Program that comes with the Cosminexus Service Platform as an example. For details about the sample program, see the manual Cosminexus Service Platform Sample Program Guide.

Organization of this subsection
(1) Deploying the HCSC components
(2) Acquiring the reception WSDL file
(3) Sending the request messages using the Web Service Explorer

(1) Deploying the HCSC components

Deploy the Web services and the HCSC components of the Product Arrangement Sample Program in such a way that the request messages can be sent from the Web Service Explorer.

(2) Acquiring the reception WSDL file

The user-defined reception is used in the Product Arrangement Sample Program. This WSDL file for the user-defined reception is available in the following location:

uCosminexus-Service-Architect-installation-directory\CSCTE\Samples\ Product Arrangement\Service\WSDL\ArrangementService.wsdl

Copy this file into any Eclipse project.

(3) Sending the request messages using the Web Service Explorer

The request message is sent as follows from the Web Service Explorer:

  1. Right click the copied WSDL file and choose Web Services and then Testing in Web Services Explorer.

    [Figure]

    The Web Service Explorer starts and the window for selecting the operations appears.
  2. Select the operation you want to send.
    Select arrangeItem.

    [Figure]

  3. Set up the parameters for the arrangeItem operation.
    Set up the following parameters:
    • ItemName: HDD compliant Plasma TV?60 type (? is a one-byte space)
    • Quantity: 1

      [Figure]

  4. Click the Go button.
    The sending result (response message or error) appears in the lower right pane.

    [Figure]