cancel
Showing results for 
Search instead for 
Did you mean: 

Additional Query parameter in HTTP_AAE giving STATUS_CODE_NOT_OK-Internal Server Error

mayank_yadav
Explorer
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Mayank,

Try to set another additional query parameter:


queryPath          true

Regards

mayank_yadav
Explorer
0 Kudos

No luck after adding these

FYI I am using PO 7.4, though info wud nt help much.

Regards,

Mayank

iaki_vila
Active Contributor
0 Kudos

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,

mayank_yadav
Explorer
0 Kudos

Hi Inaki,

Do you mean character Encoding in general tab.

PFB screenshot for Request Details & HTTP channel exception.

Regards,

Mayank

mayank_yadav
Explorer
0 Kudos

Hi Inaki,

Also tried out  with reserved  parameters as below but still the same error persists.

from     Z%3a********&

filename    HTTP****************ee%2exml

mayank_yadav
Explorer
0 Kudos

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

mayank_yadav
Explorer
0 Kudos


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.

fromZ:6004951000017
filename

INVOICE123456789.xml

Answers (0)