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
 
Need Example for WebService Call from Cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
vvgoud

New User


Joined: 16 Aug 2007
Posts: 27
Location: Hyderabad

PostPosted: Wed Feb 18, 2009 7:10 pm    Post subject: Need Example for WebService Call from Cobol program
Reply with quote

Hi,

Below is my Requirement.
I will enter some some cars information on the CICS screen and send to RailInc through web Service call for validating cars information and Railinc validate the cars information and if any of car information is wrong then they will send back wrong cars information through webservice call Resoponse.


How to send the Cars information through WebService call from Cobol program , I am very thankful if somebody send the documentation of webservice calls or sample program.

EXEC CICS INVOKE WEBSERVICE(WS-WEBSERVICE-NAME)
CHANNEL(WS-CHANNELNAME)
URI(WS-ENDPOINT-URI)
OPERATION(WS-OPERATION)
RESP(RESP)
RESP2(RESP2)
END-EXEC.

EXEC CICS PUT CONTAINER(WS-SERVICE-CONT-NAME)
CHANNEL(WS-CHANNELNAME)
FROM(REQUESTDATA)
END-EXEC.


EXEC CICS GET CONTAINER(WS-SERVICE-CONT-NAME)
CHANNEL(WS-CHANNELNAME)
INTO(RESPONSEDATA)
END-EXEC

Please let me know if you need any more details.

Thanks,
VVGOUD.
Back to top
View user's profile Send private message

Jagan Sachidanandam

New User


Joined: 11 Aug 2008
Posts: 14
Location: India

PostPosted: Mon May 11, 2009 2:47 pm    Post subject:
Reply with quote

Hi,

Please go through the IBM Manual, Implementing CICS web services. It will be useful. They are several methods to interface with other systems. You can use commands like EXEC CICS WEB RECEIVE or EXEC CICS WEB SEND. You can also try using EZACICAL.
Back to top
View user's profile Send private message
Jonathan Sayles

New User


Joined: 03 May 2009
Posts: 3
Location: N.C./U.S.

PostPosted: Tue May 12, 2009 3:52 pm    Post subject: RDz and WebServices
Reply with quote

Another option would be for you to look at the Rational Developer for System z workbench from IBM - which contains Wizards that assist in creating "top-down", "bottom-up" and "meet-in-the-middle" Web Services - from CICS and IMS TM application code (either COBOL or PL/I).

http://www.ibm.com/developerworks/rational/library/08/dw-rt-rbdwebserv/

This will shorten your development time by at least an order of magnitude
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue May 12, 2009 7:44 pm    Post subject: Reply to: Need Example for WebService Call from Cobol progra
Reply with quote

Hello Jon and welcome to the forum,

After that first post, it is all downhill icon_smile.gif

Good to see you,

d
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

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