Show TOC

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

Use

You use this procedure to specify the type of input for the sender channel.

Prerequisites

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

Procedure

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

Category

Fields

Description

Request Details (General tab)

Set Form

If the HTTP input is through the form submission, select the Set Form checkbox.

Note

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

Set Multipart

If the HTTP request is a multipart request that has one or more different sets of data combined in the HTTP body, choose the Set Multipart checkbox.

Note

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

In addition, if you want the attachments in the HTTP request to be copied as XI message attachments, select the Keep Attachments checkbox.

Adapter-Specific Message Properties (Advanced tab)

Note

If you want to save adapter-specific attributes in the message header of the XI message, select the Set Adapter-Specific Message Attributes checkbox

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

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

  2. Enter the HTTP header names in the corresponding 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 HTTP URL parameters as XI dynamic headers, choose the URL Parameters checkbox.

  2. Enter the HTTP URL parameter 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 set the headers of the HTTP response message using XI dynamic headers, choose HTTP Header Fields (Synchronous Response) .

  2. Enter the HTTP response header names

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

Additional Parameters

Note

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

Name

Value

Enter the corresponding names and values for the additional parameters.

Result

You have configured the Java HTTP adapter for the sender channel. To trigger a call to the Java HTTP adapter on the sender channel use the URL: http:// <hostname:port> / <path> ? <query-string>

Where,

path = /HttpAdapter/HttpMessageServlet query-string = ?interfaceNamespace= <interfaceNamespace> &interface= <interface> >& senderService= <senderService> &senderParty= <senderParty> &receiverParty= <receiverParty> &receiverService= <receiverService> &qos= <qos> &queueid= <queueid> &msgguid= <msgguid>