cancel
Showing results for 
Search instead for 
Did you mean: 

Facing error "HttpAdapterException: MISSING_PAYLOAD_" in HTTP AAE sender channel in PI single stack

former_member597222
Discoverer
0 Kudos

hi All,

I am facing the below error in the sender HTTP AAE channel in PI single stack 7.4.

Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: MISSING_PAYLOAD_PARAMETER-ShipConfirm

Below url is used to send the data to PI.

http://<host:port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=<namespace>∫erface=<sender interface>&senderService=<sender component>&qos=EO&message=ShipConfirm

Could you please tell me what needs to be configured for Main payload parameter name in the channel configuration.

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

communication-channel-error.pngcommunication-channel-module.pngcommunication-channel.png

Hi Konda Reddy,

I am getting same type error in the communication channel. Could you please find the attached screen shots.

Regards,

Vijay

former_member597222
Discoverer
0 Kudos

hi Evgeniy,

Issue is resolved now by changing the context type to application/xml from source and unchecking the set form in channel.

Thansk a lot for your support.

Regards,

Konda

former_member190293
Active Contributor
0 Kudos

Hi Konda!

I don't know how your HTTP client works (and what kind of request it sends), but if you use "Set Form" parameter in adapter's settings, your HTTP request should look like this:

POST / HTTP/1.1
Host: foo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 13

say=Hi&to=Mom

All the Form parameters are passed in request body as Name=Value pairs separated with &.

You use "Main Payload Parameter Name" property to set main payload from certain parameter's value. For example, if you set "Main Payload Parameter Name" to "say" - you'll get "Hi" as main payload.

Take a look at the request types, which are supported by Java HTTP adapter:

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/3b/280fa6a8ab4dd4a6755f8ed5b9fc9c/content.htm?no_c...

Regards, Evgeniy.

0 Kudos

Well a quite logical answer. Helped me in my implementation.

former_member597222
Discoverer
0 Kudos

hi Evgeniy,

Attached is the configuration on the sender side, not sure if the syntax of the main payload parameter maiantained is correct or not.

sender-config.jpg

Thanks,

Konda

former_member190293
Active Contributor
0 Kudos

Hi Konda!

Is the form submit request used at sender's side?

Regards, Evgeniy.

former_member597222
Discoverer
0 Kudos

hi All,

PFA the channel configuration used.

channelscreenshot.jpg

Thanks,

Konda