Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace z/OS Connect
Created by Guest
Created on Apr 4, 2016

z/OS Connect: Enable back-end service selection based on a header value (intelligent routing)

z/OS Connect: Enable back-end service selection based on a header value (intelligent routing)

In z/OS Connect EE, provide service selection based on a HTTP request header content.

1. Define a HTTP request header as a criteria for routing
2. Select a
zosconnect_localAdaptersConnectService
or
registerName
based on the header content.

Example 1:
A service invocation:
https://xxxx.com/queryAcct and Request header “Country: XX”

in zosconnect_zosConnectService
define routeHeader=”Country”

<zosconnect_zosConnectService id="CARDSREQ"
invokeURI="/queryAcct"
serviceName="CICS-CARDS"
dataXformRef="cardsJSON2Byte"
routeHeader=”Country”
serviceRef="cardsCICS"/>

Then in zosconnect_localAdaptersConnectService select a registerName conneciton based on the routeHeader content, with a logic similar to a "case" selection statement.
This will allow for the same back-end service program name, but from a different CICS connection or with different START_SRVR parameters.

<zosconnect_localAdaptersConnectService id="cardsCICS"
serviceName="GBOJCRRD"
connectionFactoryRef="wolaCF"
case routeHeader
routeValue=”US” registerName="US_CICS"
routeValue="MX" registerName="MX_CICS"
routeValue=”CA” registerName="CICS001"
routeValue=”*” registerName="DEFAULT_CICS"
/>


Example 2:
A service invocation:
https://xxxx.com/queryAcct and Request header “Country: XX”

in zosconnect_zosConnectService
define routeHeader=”Country”
then select a serviceRef based on the header value
This will allow for a completely different back end service program, or CICS region etc.

<zosconnect_zosConnectService id="CARDSREQ"
invokeURI="/queryAcct"
serviceName="CICS-CARDS"
dataXformRef="cardsJSON2Byte"
routeHeader=”Country”
routeValue1=”US”
serviceRef1="cardsUS"
routeValue2=”MX”
serviceRef2="cardsMX"/>

serviceRef1, serviceRef2 may contain different LinkTaskTranID, or serviceName - program name, etc

Idea priority High
  • Guest
    Reply
    |
    Jun 18, 2018

    This requirement is addressed by z/OS Connect Enterprise Edition V3.0.10 / APAR PI98232:
    http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1PI98232

    z/OS Connect EE policies can now alter the following CICS service properties cicsCcsid, cicsConnectionRef, and cicsTransId.

    For further details about Policies, refer to the “Administering z/OS Connect EE Policies” topic in the z/OS Connect EE V3.0 Knowledge Center:
    https://www.ibm.com/support/knowledgecenter/SS4SVW_3.0.0/com.ibm.zosconnect.doc/administering/policies_overview.html

0 MERGED

z/OS Connect EE: in APIs, enable selection of service based on input data (i.e. http header value)

Merged
z/OS Connect EE: in APIs, enable selection of service based on input data (i.e. http header value) This is another possible solution for the RFEs:z/OS Connect: Enable back-end service selection based on a header value (intelligent routing) (86399)...
over 7 years ago in z/OS Connect 1 Delivered