The following is to give you an example of how to configure your Web Dispatcher.
1 SAP Web Dispatcher as proxy to map in- and outgoing requests for differing systems
1 SAP Gateway server
1 backend system
In the example below SAP Web Dispatcher listens at port 443 and transfers:
all requests which start with /sap/opu/odata/ to the Gateway system
all requests which start with /sap/public/bc or /sap/bc to the backend system
The example given is not complete and must be adapted according to your requirements.
When configuring the SAP Web Dispatcher define the example values below according to your requirements.
To implement your configuration you can copy the source code below and adapt it according to your business requirements.
#https settings ssl/ssl_lib = <sapcrypto dll> ssl/server_pse = <pse> icm/HTTPS/verify_client = 0 ssl/client_pse = <pse> wdisp/ssl_encrypt = 1 wdisp/ssl_auth = 2 wdisp/ssl_cred = <pse> wdisp/ssl_certhost = <host name> icm/HTTPS/forward_ccert_as_header = true # SAP Web Dispatcher Ports icm/server_port_0 = PROT=HTTPS,PORT=443,TIMEOUT=120 wdisp/system_conflict_resolution = 1 wdisp/add_clientprotocol_header = 1 wdisp/handle_webdisp_ap_header = 1 wdisp/add_xforwardedfor_header = true # Configuration for Gateway Server: wdisp/system_0 = SID=<GW SID>, MSHOST=<GW MSHOST>, MSPORT=<GW MSPORT>, SRCSRV=*:443, SRCURL=/sap/opu/odata/ # Configuration for Backend System: wdisp/system_1 = SID=<BE SID>, MSHOST=<BE MSHOST>, MSPORT=<BE MSPORT>, SRCSRV=*:433, SRCURL=/sap/public/bc/;/sap/bc/
The table explains the example values used in the source code above:
Variable |
Description |
Example Value |
---|---|---|
<sapcrypto dll> |
Installation path |
C:\sapwebdisp\sapcrypto.dll |
<pse> |
Folder for PSE file |
C:\sapwebdisp\sec\PSE_UI2.pse |
<host name> |
Fully qualified host name of dispatcher |
mydispatcher.example.com |
<GW SID> |
Gateway SID |
ABC |
<GW MSHOST> |
Gateway message server host name |
abc.example.com |
<GW MSPORT> |
Gateway message server port |
8120 |
<BE SID> |
Backend SID |
DEF |
<BE MSHOST> |
Backend message server host name |
def.example.com |
<BE MSPORT> |
Backend message server port |
8131 |
For further information see also
SAP Web Dispatcher
Using Proxies on SDN http://wiki.sdn.sap.com/wiki/display/BSP/Using+Proxies
One Web Dispatcher, Two Systems: Configuration Example
Note 908097 - SAP Web Dispatcher: Released releases and applying patches under https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=908097