Show TOC

Configuring the Java HTTP Adapter on the Receiver ChannelLocate this document in the navigation structure

Use

You configure the Java HTTP adapter on the receiver channel to specify the target system details.

Prerequisites

You have launched the PI integration directory for the Java HTTP adapter and have chosen to configure the receiver channel.

Procedure

Enter the details of receiver parameters as mentioned in the table below:

Category

Fields

Description

Destination Details

Addressing mode

The receiver adapter only supports URL address by default.

Target Host

Specify the target host address.

Target Port

Specify the port number of the target host.

Path

Specify the destination path URL.

Security and Authentication

Use SSL

Specify Client Certificate

If you choose the Use SSL checkbox, the receiver adapter transfers data to the target system using a secure connection.

If you want to authenticate the client using a client certificate, choose Specify Client Certificate checkbox and specify details in the Keystore View and Keystore Entry fields.

User Authentication

Specify the type of authentication you want to use and specify the corresponding User Name , User Password , Logon Language and Logon Client .

Proxy

Note

If you have a firewall between the SAP NetWeaver PI system and the target system, select the Use Proxy checkbox.

HTTP Proxy Host

HTTP Proxy Port

If there is an intermediate proxy, specify the HTTP Proxy Host and HTTP Proxy Port .

User Name

User Password

If the proxy server requires authentication, specify the user name and password to access the proxy server.

Request Details

Set Form

If the HTTP input from the receiver channel to the target system is form submission, enter the Main Payload Field Name .

Note

In the Main Payload Parameter Name field, specify the name of the parameter whose value should be copied to the XI main payload.

Set Multipart

If the HTTP request is a multipart request where one or more different sets of data form the HTTP body, choose the Set Multipart Source checkbox.

Note

In the Main Payload Parameter Name field, specify the name of the parameter to which you want to copy the value of the XI main payload. In addition, if you want the attachments in the request to be delivered to the target system, select the Keep Attachments checkbox.

Specify Content Details

  1. If you want to specify the character encoding or the content type of the HTTP input, select the Specify Content Details checkbox.

  2. In the Character Encoding field, enter the character set of the payload.

  3. In the Content Type field, enter the content type of the payload.

Note

For a multipart request specify the character set and the content type details for the main payload.

Header Field

Name

Value

Specify the static header names and the corresponding values.

Query Parameters

Sender Party

Sender Service

Receiver Interface

Message ID

Quality-of-Service

Queue ID

Select the query parameters that need to be sent to the receiver.

Additional Query Parameters

  1. If you want to specify any additional query parameters, choose the Additional Query Parameters checkbox.

  2. Enter names and values for the additional query parameters.

Adapter-Specific Message Properties (Advanced)

Note

To save adapter-specific attributes in the message header of the HTTP message, select the Set Adapter-Specific Message Attributes checkbox.

HTTP Header Fields (Field 1 (HeaderFieldOne),....,Field 6 (HeaderFieldSix))

  1. To copy the XI dynamic header values into HTTP headers, choose the HTTP Header Fields checkbox.

  2. Enter the HTTP header names in the fields.

For more information, see Using Adapter-Specific Message Attributes in the Message Header

URL Parameters (Parameter 1 (URLParamOne),...Parameter6(URLParamSix))

  1. If you want to copy XI dynamic header values into URL parameters of the HTTP message, choose the URL Parameters checkbox.

  2. Enter the HTTP URL parameters names that map to their respective dynamic headers in the corresponding URL parameter field.

For more information, see: Using Adapter-Specific Message Attributes in the Message Header

HTTP Header Fields(Synchronous Response)

  1. If you want to save the HTTP response headers into XI dynamic headers for a synchronous response scenario, choose HTTP Header Fields (Synchronous Response) .

  2. Enter the HTTP response header names.

Note

The attribute namespace for the adapter is http://sap.com/xi/XI/System

Additional Parameters

Note

SAP currently uses this option for tests and debug purposes only.

Name

Value

Enter the corresponding names and values of the additional parameters.