on 06-09-2015 12:02 PM
Hi ,
I am sending IDoc xml to receiver system at their server using java based HTTP.
Please find the below screenshot which shows how HTTP receiver channel is sending the query parameters
using POST method.
content type: text/xml
Successful message at receiver system was like this
Successfully handled
request from [host IP]. The payload extracted from the msg was assigned
the filename of [HTTP*************.xml]. The servlet request had the
following parameters [RequestURL
[http://************com.co.**:****/ms***/http], QueryString
[from=Z%3*************&filename= HTTP***************ee%2exml], HTTP Method [POST],
using Transmission Path
Can anyone let me know the correct way to put these parameters 'from'
& 'filename'.I tried out different combinations and SDN posts but couldnt find relevant to solve my problem.
Any quick help regarding setting parameters is appreciated as I am running out of time.
Regards,
Mayank
Hi Mayank,
Try to set another additional query parameter:
queryPath true
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mayank,
Have you escaped the reserved parameters in the query string? Percent-encoding - Wikipedia, the free encyclopedia
Could you share the exception in the communication channel monitoring?
Regards,
Hi All,
FYI I have added below details in channel:
Character Encoding as UTF-8
and in additional Query Parameters:
from= | Z:6003851000016 |
filename= | INVOICE123456789.xml |
Lets wait for the response from other team , what queryString method they are receiving now
and whether they are receiving files.
Regards,
Mayank
Hi Guys,
the above query string worked fine without '=' sign as shown below.
Now I have a situation where we need to add filename for credit files also
e.g. filename:CREDIT12456574.xml in the same.
Is it the correct way to add it in same table as additional row or some other parameters(like dynamic,etc) also need to be set in SFTP.
from | Z:6004951000017 |
filename | INVOICE123456789.xml |
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.