Show TOC

Background documentationAdvanced P4 Protocol Connection Configuration Locate this document in the navigation structure

 

The client is able to connect to the server through HTTP proxies or SAP Routers specifying additional properties in the JNDI environment.

  • HTTP Proxy configuration

    Connection via HTTP Proxy is allowed for:

    • HTTP/HTTPS connection to the message server

      P4S connection to the server, that is, P4 over SSL. In this case the HTTP Proxy must support CONNECT.

    The proxy settings can be configured by JNDI environment parameters:

    • HTTP_HOST - the host of the proxy

    • HTTP _PORT - the port of the proxy

  • SAP Router configuration

    In order to configure a connection through SAP Router, the client should specify the following properties:

    • SAPRouter

      This property specifies that SAP Router is used for the service connection, the host and port obtained form the message server are appended at the end of the string, so the routers must be configured to allow connections to every access point that is published in the message server.

    • NoRouterForMS

      If set, the connection to the message server is also made through the router with the supplied string.

Cluster-wide Load balancing of Secure P4/SSL Connections

The message server is queried for service access points.

Provider URL string:

mshttps://message_server_host:message_server_https_port/P4S

Optional properties:

  • HTTP_Host

  • HTTP_Port

These optional properties are used to specify an HTTPS proxy for the request to the message server and for the SSL P4 connection.

Secure Communication with SAP Router

Provider URL string:

  • If message server is used :

    ms://message_server_host:message_server_https_port/P4S

  • If direct connection is used:

    p4s://disp_host:p4_ssl_port

SAPRouter string - the string that is used

Optional properties:

  • SAPRouterPassword - the password required to access the service if the router requires it.

  • NoRouterForMS = "true" - does not use the router for the request to the message server and connect directly to the message server host/port.

Secure Communication to Direct Server Node

Provider URL string:

p4s://disp_host:p4_ssl_pert#sereverId

Optional properties:

  • HTTP_Host

  • HTTP_Port

These optional properties are used to specify an HTTPS proxy for the request to the message server and for the SSL P4 connection.

Cluster-wide Load Balancing of Secure P4/SAP Router Connections

Provider URL string:

ms://message_server_host:message_server_http_port/P4

SAPRouter - the string that is used.

Optional properties:

  • SAPRouterPassword - the password required to access the service if the router requires it.

  • NoRouterForMS = "true" - does not use the router for the request to the message server and connect directly to the message server host/port.

Cluster-wide Load Balancing of P4 Connections with Message Server Provider

URL string:

ms://message_server_host:message_server_http_port/P4

SAP Router Direct Connection to Instance/Server Node

Provider URL string:

  • p4ni://saprouter_string

  • p4://disp_host:p4_port#sereverId

SAPRouter/SAPRouterPassword - pair to construct the router string internally from the true URL host/port.