AS2 inbound data not recognized correctly

Hello.

we are receiving a EDIINT AS2 Message from our EDI Partner.
The document is sent through Enterprise Gateway (Integration Server) located at our DMZ.

On our internal server service we receive in pipeline a content stream of type “com.softwareag.is.enterprisegateway.net.HttpInputStream”.

Current EDI service “InboundAS2” implementation:
Input :

  • contentStream (type String)
    Flow :
  • pub.flow.getrTransportInfo
  • map content stream to wm.EDIINT:receive

But in Trading Networks the payload is not extracted correctly
and the resulting DELFOR message could not be identified by TN.

How to map/transform this as input for service wm.EDIINT:receive ?

Or is there a better way to handle incoming AS2 requests ?

Thanks a lot for your hints and ideas.

Sebastian