View previous topic :: View next topic
|
Author |
Message |
safexc
New User
Joined: 21 Jan 2017 Posts: 2 Location: India
|
|
|
|
Hi All,
I got my webservice deployed on a tomcat server in my local machine. How can I invoke that service from Mainframes / CICS ?
Also to access any free webservice available on the web, do I need to change any proxy settings ? I tried doing a WEB OPEN to httpbin.org/get but the command is giving a TIMEDOUT message.
Objective is to develop a CICS application as a client and access a web service - REST service using JSON message.
The web service is ready and tested, but only problem is establishing the connection.
The Shop has no webservice ever implemented.
Can someone suggest me what can be done here ?
If I have to access the service hosted locally, if I bind that service to a port and use that within the CICS call?
Thanks. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you read the IBM Redbook Implementing CICS Web Services? If not, start reading it. If so, then use the examples in the Redbook to help you set up your system for CICS Web Services. |
|
Back to top |
|
|
safexc
New User
Joined: 21 Jan 2017 Posts: 2 Location: India
|
|
|
|
Thanks Robert, was able to implement it by following the redbook. One doubt though, if a json is returning null value for a field, the transformation is failing as it cant map it against the cobol equivalent, so how can this be handled ?
thanks for your help. |
|
Back to top |
|
|
|