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: 13
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: 13
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 COBOL/CICS Emulators CICS 4
No new posts DFHLS2WS WSDL com.ibm.cics.wsdl.prope... CICS 0
No new posts How to get RBA value from CICS EVENT CICS 5
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
No new posts parmeter existence bit for URIMAP in ... CICS 1
Search our Forums:

Back to Top