Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS to Webservices

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
safexc

New User


Joined: 21 Jan 2017
Posts: 2
Location: India

PostPosted: Sun Jan 22, 2017 5:49 pm    Post subject: CICS to Webservices
Reply with quote

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 http://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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8432
Location: Dubuque, Iowa, USA

PostPosted: Sun Jan 22, 2017 6:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
safexc

New User


Joined: 21 Jan 2017
Posts: 2
Location: India

PostPosted: Mon Feb 06, 2017 5:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Suggestion on KSDS VSAM READ in CICS subratarec CICS 5 Wed Feb 13, 2019 4:42 pm
No new posts Convert CICS Modules to AMODE ANY CICSWOLF PL/I & Assembler 6 Fri Feb 08, 2019 7:10 pm
No new posts How to specify TCBLIMIT for DB2CONN i... Mike.Fulton CICS 3 Thu Feb 07, 2019 1:27 am
No new posts CKTI not started in CICS 5.4 danik56 CICS 13 Thu Jan 31, 2019 12:13 pm
No new posts Forcepurge CICS transaction via JCL bhavin.mehta JCL & VSAM 4 Wed Jan 09, 2019 6:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us