Siebel Composer Developer Preview Guide > Setting up Siebel Composer > Setting up Composer Application Edit >
IIS Reverse Proxy Configuration
When the system is set in Application Edit mode, it maintains two connections between the browser and the Siebel server: one connection uses the REST Repository API that is served by the Java Container and the other connection connects with the legacy Siebel web server. These connections must be served from the same domain so they can be accessible to the same Siebel Composer Application Editing Client on the browser. For this purpose, the Java Container and the Siebel web server must be jointly fronted by a reverse proxy. The following software is required to implement the load balancing and reverse proxy configuration:
- IIS 8 and above
Oracle Siebel implements a reverse proxy with IIS.
- URL Rewrite
You can download URL Rewrite from http://www.iis.net/downloads/microsoft/url-rewrite.
- Application Request Routing (ARR)
You can use ARR as a load balancer for multiple servers and as a reverse proxy that hides other web servers from the internet.
This software can be downloaded from http://www.iis.net/downloads/microsoft/application-requestrouting.
While setting up Reverse Proxy for Siebel Composer Application Edit, note that:
- The current Siebel REST interface is served by a Java Web Container (also called Tomcat in Siebel Innovation Pack 2016). The remaining Siebel applications are all served by a different web server that runs the Siebel Web Extension Plug-in.
- The typical URLs for these two categories are formatted as in Table 9. For Siebel Composer Application Edit to work, both URLs of Siebel Web Server Extension (SWSE) and Siebel REST must be on the same domain.
- These settings can be implemented using a reverse proxy that is hosted on <HostName> and served by the default HTTP port (or a specified non-default port).
Table 9. Typical URL formats and URLs on the same domain of Siebel implementations
Category of Siebel implementations |
|
|
SWSE |
http://<SWSEHostName>/callcenter_enu |
http://<HostName>/callcenter_enu |
Siebel REST |
http://<TOMCATHostName>:<port_number>/siebel-rest/v1.0/repository/Applet/SIS Account List Applet |
http://<HostName>/siebel-rest/v1.0/repository/Applet/SIS Account List Applet |
NOTE: The configuring steps in the following section are based on the system that has the reverse proxy configured on the same host, which is running the SWSE and routing appropriate requests to the Siebel REST Java Web Container (Tomcat).
To set up reverse proxy for Siebel Composer Application Edit
- Install URL Rewrite and ARR:
- Download URL Rewrite from http://www.iis.net/downloads/microsoft/url-rewrite.
- Download ARR from http://www.iis.net/downloads/microsoft/applicationrequest-routing.
For more information on how to download and install URL Rewrite and ARR, visit the IIS website.
- In IIS, access Application Request Routing.
- Click on the server proxy settings.
- In the Application Request Routing page, select the Enable proxy option.
- In the Proxy Type section, select the Use URL Rewrite to inspect incoming requests option.
- Enter the reverse proxy URL in the Reverse Proxy text box.
- Click the Apply button.
- Navigate to Sites in IIS and then navigate to Default Site.
- Click the URL Rewrite icon.
- Add a rewrite rule.
The Edit Inbound Rule dialog appears.
- Perform the following steps in the Edit Inbound Rule dialog:
- Enter a rewrite rule name in the Name field.
- Enter the following value into the Pattern text box in the Match URL section:
(Siebel-rest.+)
- Select the Rewrite option from the Action type drop-down list.
- Enter the REST Java Web Container URL in the Rewrite URL text box.
For example, http://localhost:9001/{R:0}.
- Apply the changes and restart IIS.
The reverse proxy setup is completed.
- Test the configuration.
- Send the REST request with web server as host name (without port number).
An appropriate message appears informing you that the settings are successfully completed.
For more information on how to add the rewrite rules for the URL rewrite module, visit the IIS website at www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module.
|