cancel
Showing results for 
Search instead for 
Did you mean: 

WebDispatcher : SRCURL to redirect only specific Webdynpros

Farid
Active Participant
0 Kudos

Hello,

We are running HR Renewal 2.0 and as such we had to setup the Webdispathcer rules as indicated in the Administrator Guide.

Basically the same URL is used to access services in the two backends systems ECQ and GWQ

wdisp/system_1 = SID=GWQ, MSHOST=srv-qsap-gwpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/sap/saml2/sp/;/sap/opu/sdata/;/sap/opu/odata/;/sap/bc/ui2;/sap/public/bc/ui2/;/sap/bc/ui5_ui5/sap/arsrvc_suite_pb/,CLIENT=400

wdisp/system_2 = SID=ECQ, MSHOST=srv-qsap-ecpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/,CLIENT=400

No problem until that. (Note that all the HR webdynpros are found in the ECQ system)

Now we are also using an Identity Provider (ADFS) and  the following Webdynpro needs to be found on the GWQ System:/sap/bc/webdynpro/sap/saml2

So I tried all the following settings and it did not work :

wdisp/system_1 = SID=GWQ, MSHOST=srv-qsap-gwpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/sap/bc/webdynpro/sap/saml2;/sap/saml2/sp/;/sap/opu/sdata/;/sap/opu/odata/;/sap/bc/ui2;/sap/public/bc/ui2/;/sap/bc/ui5_ui5/sap/arsrvc_suite_pb/,CLIENT=400

wdisp/system_1 = SID=GWQ, MSHOST=srv-qsap-gwpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/sap/bc/webdynpro/sap/saml2*;/sap/saml2/sp/;/sap/opu/sdata/;/sap/opu/odata/;/sap/bc/ui2;/sap/public/bc/ui2/;/sap/bc/ui5_ui5/sap/arsrvc_suite_pb/,CLIENT=400

wdisp/system_1 = SID=GWQ, MSHOST=srv-qsap-gwpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/sap/bc/webdynpro/sap/saml2/;/sap/saml2/sp/;/sap/opu/sdata/;/sap/opu/odata/;/sap/bc/ui2;/sap/public/bc/ui2/;/sap/bc/ui5_ui5/sap/arsrvc_suite_pb/,CLIENT=400


I read the documentation again, and it turns out that SRCURL specifes the possible URL prefixes, so if I add the prefix /sap/bc/webdynpro/sap/ to

GWQ, il would work fine, but then all HR Webdynpros would not be found on ECQ



wdisp/system - SAP Web Dispatcher - SAP Library



saml2 is not a prefix, it is a webdynpro.

Is there a way to exclude the Webdynpro saml2 from being found on ECQ ?

Is there a way to selectively force the sapwebdispatcher to look for /sap/bc/webdynpro/sap/saml2 on GWQ ?



Thank you






Accepted Solutions (1)

Accepted Solutions (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Raoul,

From an URL / address perspective, "saml2" would be a prefix as well... As far as I know.

I believe that the following parameter should have worked.


wdisp/system_1 = SID=GWQ, MSHOST=srv-qsap-gwpa.domain, MSPORT=8111, SRCSRV=*:44310, SRCURL=/sap/bc/webdynpro/sap/saml2;/sap/saml2/sp/;/sap/opu/sdata/;/sap/opu/odata/;/sap/bc/ui2;/sap/public/bc/ui2/;/sap/bc/ui5_ui5/sap/arsrvc_suite_pb/,CLIENT=400

What happens if the above is set?

Can you post a screenshot from the error?

Regards,

Isaías

Farid
Active Participant
0 Kudos

Thanks Isaias ... it worked indeed

Answers (0)