Now that all of the resources are created in CICS, and the Web service bind files and wsdl are generated, the service is ready to be tested. A simple way to achieve this is by using the Web Services Explorer in WD/z. The only input required is the wsdl file for the service.
From a previous step the wsdl was generated and saved in the HFS on the remote host. The following steps show how we tested our sample GetHash.wsdl Web service.
To do this:
Select the remote wsdl to import
Use the following steps to do this:
Use the WSDL Editor to specify location
To start the Web Services Explorer, right-click the wsdl file, and select Web Services → Test with Web Services Explorer. This opens a window that has three panes in it as seen in Figure:
The Web Services Explorer in WD/z
To issue the Web service request for testing, click the Operation name (ITSOGH03Operation), and the Action name expands to show the data representation of the service you want to invoke. This is seen in Figure.
The labels correspond to the names of the fields in the commarea. In our example, our logic takes five address fields as input and returns three fields as output. As we are using the same commarea and have not written a wrapper to manipulate the request and response data, all the fields in the commarea are displayed in the request and the response.
Enter the request specific data for the Web service on the Action pane
Enter some data to test, and click Go.
The result, including any error messages, appear in the Status pane as in Figure, showing the contents of the ITSOGH03OperationResponse.
The expected results of the Web service test
The test was successful!
IBM-CICS Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-REXX Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||COBOL Interview Questions|
|IBM-JCL Interview Questions||DB2 Using SQL Interview Questions|
|IBM-JCL&VSAM Interview Questions||IBM Mainframe Interview Questions|
|Mainframe DB2 Interview Questions|
Service-oriented Architecture And Cics
Cics As A Service Provider And Requester
Modern Web Services Development Tools
Development Of The Change Of Address Cics Application
Exposing Our Application As A Web Service
Developing Web Service Clients
Tracing The Change Of Address Scenario
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.