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

How to get complete URL from CICS Containers


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mbattu

New User


Joined: 19 Jan 2011
Posts: 15
Location: Toronto

PostPosted: Tue Nov 14, 2017 11:59 pm
Reply with quote

Hi,

I am trying to develop a Restful CICS Web Service. I am using DFHWS-URI container to fetch the URL but it only returns the relative URL and not the complete URL.

* For example, if the URI of the web services is example.com/location/address or jms://queue?destination=INPUT.QUEUE&targetService=/location/address, the relative URI is /location/address. * - taken from CICS TS 5.3.0

Is there a way to get the complete URL?


Regards,
Madhu
Back to top
View user's profile Send private message
mbattu

New User


Joined: 19 Jan 2011
Posts: 15
Location: Toronto

PostPosted: Wed Nov 15, 2017 1:44 am
Reply with quote

I have done some digging and tried reading every Container present on the Channel and none has the complete URL info. Therefore, I think we can't get complete URL.

However, I tried another approach of getting the IP address using the CICS APPLID and linking it with relative URL from DFHWS-URI. It is working for me.

Regards,
Madhu
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Upgrade CICS TS to 6.2: authorization... CICS 0
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts CICS-Db2 connection issue CICS 1
No new posts After newcopy the CICS program user f... CICS 7
Search our Forums:


Back to Top