uCosminexus Service Platform, Basic Development Guide
Acquire the interface information of the synchronous reception (Web Services) of the HCSC server that invokes the service component from the WSDL. You can use one of the following two WSDL acquisition methods:
- Method 1
- From the Eclipse menu, choose HCSC-Definer, and then Published Services List.
HCSC components are listed in Published Services List in the tree view.
- From the HCSC component list, select and double-click the service component (HCSC component) to be invoked.
The information about the HCSC component is displayed in the HCSC Component Information Display screen. For details about this screen, see the manual Cosminexus Service Platform Overview.
The information about the HCSC server that becomes the service component request destination is displayed in Server information.
- Choose the WSDL type to be acquired by the Binding Style radio button and SOAP Version radio button as and when required.
Choose the WSDL definition style to be acquired by the Binding Style radio button. Choose the corresponding SOAP specifications version by the SOAP Version radio button.
- Click WSDL acquisition.
A dialog box for saving the WSDL file opens.
Specify the file saving destination and acquire the WSDL.
- Method 2
- From the directory in which HCSC-Messaging is installed, acquire the WSDL provided as a sample.
Acquire the WSDL appropriate to your application from the following:
- rpc-literal type
cscmsg_ws.wsdl file
- document-literal type
cscmsg_ws_doc.wsdl file
For details about the directory in which HCSC-Messaging is installed, see the section related to uCosminexus Service Platform installation in the manual Cosminexus Service Platform System Setup and Operation Guide.
- Modify the contents of location of WSDL's <soap:address> as shown below.
http://host-name:port-number/#1context-root#2
/services/CSCMsgSyncServiceDeliveryWSImpl
- #1
- This is the HCSC server's URL.
- #2
- HCSC server cluster name that is determined when the HCSC server configuration is deployed in the development environment and the operating environment.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.