Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS and Webservices

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

New User


Joined: 05 Jul 2007
Posts: 2
Location: Georgia

PostPosted: Wed Dec 12, 2012 8:37 pm    Post subject: CICS and Webservices
Reply with quote

I have a CICS program that interfaces with webservices. For some reason when I check a field value after the invoke webservices has been executed it is not recognizing that the field has something in it on the CICS side. I have not made any changes to the WSDL or program. I know on the webservices side that there is something in the field the program is referencing? Has anyone ever had this occur to them?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Dec 13, 2012 12:47 am    Post subject:
Reply with quote

What are the response code and RESP2 values from your EXEC CICS INVOKEWEBSERVICES command?
Back to top
View user's profile Send private message
csgwynn

New User


Joined: 05 Jul 2007
Posts: 2
Location: Georgia

PostPosted: Fri Dec 14, 2012 12:44 am    Post subject: Reply to: CICS and Webservices
Reply with quote

The EIBRESP is +00000000 and EIBRESP2 is +00000000. I discovered the problem. The information I am getting back from my source has a semicolon in it. My CICS program interprets that as the end of a field so I am getting off displacement (therefore looking at the wrong field). Thanks for trying to help me.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Dec 14, 2012 2:48 am    Post subject:
Reply with quote

Glad to hear you got it fixed!
Back to top
View user's profile Send private message
cmsmoon

New User


Joined: 17 Jun 2010
Posts: 72
Location: Chennai

PostPosted: Fri Jul 29, 2016 1:06 pm    Post subject: Re: CICS and Webservices
Reply with quote

csgwynn wrote:
I have a CICS program that interfaces with webservices. For some reason when I check a field value after the invoke webservices has been executed it is not recognizing that the field has something in it on the CICS side. I have not made any changes to the WSDL or program. I know on the webservices side that there is something in the field the program is referencing? Has anyone ever had this occur to them?


do you have sample code for calling web service from CICs program.
can you please explain what we values we should give the below parameter
EXEC CICS INVOKE SERVICE(WS-WEBSERVICE-NAME)
CHANNEL(WS-CHANNEL-NAME)
URI(WS-URI-ENDPOINT)
OPERATION(CONVERSIONRATE)
RESP(WS-RESP)
END-EXEC.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Fri Jul 29, 2016 4:25 pm    Post subject:
Reply with quote

Please stop resuming the old topics hence forth and create a new post with your problem statement and you should by now know how to add code tags.
How did you not find INVOKE SERVICE
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Jul 29, 2016 6:32 pm    Post subject:
Reply with quote

Quote:
do you have sample code for calling web service from CICs program.
can you please explain what we values we should give the below parameter
EXEC CICS INVOKE SERVICE(WS-WEBSERVICE-NAME)
CHANNEL(WS-CHANNEL-NAME)
URI(WS-URI-ENDPOINT)
OPERATION(CONVERSIONRATE)
RESP(WS-RESP)
END-EXEC.
You've been on this forum for six hears and you don't know how to use the Code button? Nor how to ask a question? The code you provided has FIVE parameters listed, and you did not specify which of them you want explained, so there's not really any way to answer your question. And after six years, you should know if you ask for code on this forum, you should expect to pay for it -- people often provide code for free, but if they don't and you want the code, plan to pay for it.
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 CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us