Currently we are forced to receive messages from a partner in AS2 with the following “content type” : Content-Type: application / octet-stream
Content-Transfer-Encoding: binary
actualy wwhene we use content-type : application/edifact application/txt … we can receive the mssage and it content stream, but the problem is that he partner can only send files over as2 with content_type:
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
is there a solution for this problem, such as developing a flow service java or use a workaround
actualy we use that solution for receiving content-tyoe: application/txt and application/edifact in same time
for the content- type: application /octet-stream we do receive the stream in variable named: "contentStream " and not in variable “stream” ,so we cant find the the paylod of the message .
the problem is that we cant use two ediint process services in same time because we do receive stream in variable named “stream”.
how can we receive : application/octet-stream (contentStream) application/edifact (stream) application/txt (stream) in same time in same service
we do receive stream using contenstream as imput variable for the gatwayservice , we change the content type of the ediint receive from application/octet-stream to application/edifact .
the message is processed by webMethods … without any porbleme .
but now the probleme we got is that the MDN sent to the partenar is in html format and not text/plain
in the webMethods consol we can see that the MDN is sent in text/plain format and that all is ok ,
but the partner still receive the MDN in html format
i creat new gatway service juste to process the ediind receive the partner still receive the html mdn.
Do you have eany idea on how we can solve that probleme or customize the mdn …