Skip to Content
Author's profile photo Rodrigo Pertierra

New adapter HTTP_AAE in PI 7.3

In this i expect that you have a better idea about this new adapter that comes up in PI 7.3.

OVERVIEW

HTTP AAE supports all the major functions of the ABAP HTTP Adapter, plus some industry standards.

/wp-content/uploads/2013/07/2b7e46eb54bd4298ae8433050f625f00_254871.jpg

Request Combinations

HTTP AAE supports different combinations of HTTP requests going through the HTTP POST/GET message protocols.

Form Submit Request

This is an HTTP POST request and the content type is “application/x-wwwform-urlencoded”. You use this scenario to select the PI main message

payload from one of the parameters of the form submit request.

• Form-Based File Upload

Form Based File Upload is a form based HTTP POST request and is multipart (RFC 1867). You use this scenario to select the PI message payload

and PI main message attachments from a form-based file-upload.

• Generic Multipart Request

This is a multipart HTTP POST request. You use this scenario to select the PI main message payload and the PI message attachments from a generic

multipart request.

• URL Parameter

This request is an HTTP GET request. You use this scenario to select the PI main message payload from a URL parameter.


HTTP AAE Sender Configuration in Details

To configure the HTTP AAE Sender, we need information about the message protocol (HTTP POST/HTTP GET) and the request details.

• Set Form

If the HTTP input is through form submission, select the Set Form checkbox. In the Main Payload Parameter Name field, specify the name of the request

parameter whose value should be copied to the PI main payload.

• Set Multipart

If the HTTP request is a multipart request where one or more sets of data are combined into a single body, choose the Set Multipart checkbox. In

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

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

After configuring the sender Java HTTP adapter, use the following URL to trigger the call.

http://<host>:<port>//HttpAdapter/HttpMessageServlet?<query-string>

/wp-content/uploads/2013/07/9c13e8e578064c03a5cb90c8e5056192_254872.jpg

HTTP AAE Receiver Configuration in Detail

To configure the HTTP AAE receiver, details about the receiver scenario have to be provided.

/wp-content/uploads/2013/07/7dfd24dd82d5489b84baaf016888ac03_254881.jpg

• URL destination details

• Security and authentication information

• Proxy details

• Request details (Set Form Source/Set Multipart Source/Specify Content

Details)

Set Form Source

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

Parameter Name field, specify the name of the parameter whose value should be copied to the PI main payload.

Set Multipart Source

If the HTTP request is a multipart request where one or more sets of data are combined into a single body, choose the Set Multipart Source checkbox. In

the Main Payload Parameter Name field, specify the name of the parameter to which you want to copy the value of the PI 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

Content details are required if you want to specify the character encoding or the content type of the HTTP input. For a multipart request, specify the

character set and the content type details of the main payload.

Hope this overview let you have a better idea about this new adapter and the capcbilities that it provides.

Thanks


Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      hi Rodrigo Alejandro Pertierra

      nice blog;)

      i have an requirement of fetching the file from url

      example:http://host:port/abaccc/cs/text.txt. it is be possible to downlad the file from url using get function in sender HTTP adapter?

      regards

      Siva

      Author's profile photo Former Member
      Former Member

      Hi Siva,

      Did you get success in fetching the file from a URL?

      I wanted the same implementation for fetching a file from a website by providing a input feild.

      I was trying to use HTTP_AAE  adapater, with Set Form Functionality. But not knowing what should be the value passed in the "Main Payload PAramter name". for POST protocol.

      Any Quick help?

      Author's profile photo Brians Brown
      Brians Brown

      Hi ,

      I have a question...

      if I Want to Send the PI User on the URL, is possible?

      Or other form for send this user or disabled this option,

      not requested by the user when running the url.. is possible?

      Author's profile photo Kumar Devarakonda
      Kumar Devarakonda

      yes possible, use J_username J_password strings

      Author's profile photo Boopathi Murugasamy
      Boopathi Murugasamy

      Hi Rodrigo,

      Could you please let me know how to handle the fault message in HTTP_AAE receiver adapter.

      Regards,
      Boopathi M