View previous topic :: View next topic
|
Author |
Message |
vvgoud
New User
Joined: 16 Aug 2007 Posts: 27 Location: Hyderabad
|
|
|
|
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 |
|
|
Jagan Sachidanandam
New User
Joined: 11 Aug 2008 Posts: 14 Location: India
|
|
|
|
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 |
|
|
Jonathan Sayles
New User
Joined: 03 May 2009 Posts: 3 Location: N.C./U.S.
|
|
|
|
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).
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Jon and welcome to the forum,
After that first post, it is all downhill
Good to see you,
d |
|
Back to top |
|
|
|