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 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