uCosminexus Service Platform, Basic Development Guide
8.3.2 Acquiring WSDL
Acquire interface information of synchronous reception (Web Service) of the HCSC server invoking the service component. The following 2 methods can be used for acquiring WSDL:
- Method 1
- In the Eclipse menu, choose HCSC-Definer and List of public services.
The list of HCSC components appears in the list of public services in tree view.
- In the list of HCSC components, choose the service component to be invoked (HCSC component) and double-click.
Information of the HCSC component appears in the HCSC Component Information Display screen. For details about the HCSC Component Information Display screen, see Cosminexus Service Platform Reference.
Information of the HCSC server of the service component request destination appears in Server information.
- Choose the WSDL type to be acquired by the Binding Style radio button and SOAP Version radio button, if 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 Acquire WSDL.
The Save WSDL file dialog box appears.
Specify the save destination and acquire WSDL.
- Method 2
- Acquire a WSDL sample from the directory in which HCSC-Messaging is installed.
Acquire either of the following WSDL according to use:
- For SOAP1.1/document-literal type
cscmsg_ws_doc.wsdl file
- For SOAP1.2/document-literal type
cscmsg_ws_doc_1_2.wsdl file
For details about the directory in which HCSC-Messaging is installed, see the contents related to installation of uCosminexus Service Platform in Cosminexus Service Platform System Setup and Operation Guide.
- Change the contents of location of WSDL soap:address or soap12:address to the following:
http://Host name:Port number#1/Context root#2
/services/CSCMsgSyncServiceDeliveryWSImpl
- #1
- URL of the HCSC server.
- #2
- Cluster name of the HCSC server decided while deploying the HCSC server configuration in the development environment and operation environment. In SOAP1.2, the cluster name is given the suffix "12".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.