on 03-12-2014 11:30 AM
Hello All,
I have an HTTP to File scenario. The file will be uploaded as file and sent to PI as HTTP POST request.
I am unable to understand the below.
- How do we populate the field Main Payload Parameter Name? I understand this has to be checked if the request is POST and to be uploaded as a file, but I am not sure what text to mention in this field
- Can we upload a csv file using this method?
Regards,
Puloma.
Hi Puloma
If you want to send a CSV file to PI, then why you want to use HTTP adapter. You should use file adapter if you want to send the file to PI.
Also you have mentioned that your scenario is HTTP to File. So that means the sender will send data by making a HTTP to call to PI and then PI will generate the file from the HTTP request message and send it to receiver.
Please provide the exact scenario and requirement so that we can help you better.
By the way the 'Main Payload Parameter Name' will be used only when your HTTP client is sending data using an HTML form.We have the option to post the data to PI without using form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Puloma,
If I understood correctly, you've an HTTP->FILE scenario. In this context,
a. Main Payload Parameter name is just used to obtain the XI payload from the specified parameter.
b. If you are talking about attaching a csv as an attachment, you can definitely do that by checking keep attachments.
This blog from Prabir should help you in bringing more clarity:
Besides, this is the standard SAP help for more reference
Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
Regards,
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.