IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS and Webservices


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 13, 2012 12:47 am
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 14, 2012 2:48 am
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: 75
Location: Chennai

PostPosted: Fri Jul 29, 2016 1:06 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Fri Jul 29, 2016 4:25 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 29, 2016 6:32 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top