Hi Nidhi,
In my case, its working.
Can you try to follow attached screens shot and also add java class type at operation mapping, please refer screen shot for the same.
Given screen shots are for outbound AS2 receiver.
you can raise a ticket if you still persist the same issue.
Thank you.
Regards,
Hitesh R,