MIME Type

177 views
Skip to first unread message

michel...@gmail.com

unread,
Jan 30, 2009, 6:07:05 AM1/30/09
to Hermes 2.0 Discussion List
Good morning,

we received this message/request from one of our partner exchanging
AS2 messages with us.
The provided message is an ORDER 96A

The partner is receiving this payload

MIME type: application/octet-stream
Document class: Binary
Document type: ---

and is expecting that one

Type: Payload
MIME type: application/EDIFACT
Document class: EDIFACT
Document type: ORDERS

is this a requirement of AS2, something hermes2 is able to support ?

Philip Wong

unread,
Feb 4, 2009, 9:11:34 AM2/4/09
to Hermes 2.0 Discussion List
Hi,

I'm not sure if I get you correctly.
To specify content-type, you can set "edi" in <type> when invoking H2O
AS2 sender service.

The three-character code indicating the content type of the sent
payload. The available codes are:
"edi", for the content type "application/EDIFACT".
"x12", for the content type "application/EDI-X12".
"eco", for the content type "application/edi-consent".
"xml", for the content type "application/XML".
"bin", for the content type "application/ octet-stream".
For other values, Hermes will assume the content type of the payload
is "application/deflate", which means that the payload is compressed
by Zip.

Also, you may refer to here the parameters for AS2 sender service.
http://community.cecid.hku.hk/index.php/product/article/communicating_hermes_2_through_ws/#as2-sender-ws

Hope this can help.

Regards,
Philip



On Jan 30, 7:07 pm, "michel.co...@gmail.com" <michel.co...@gmail.com>
wrote:

amel dzananovic

unread,
Jul 31, 2013, 12:53:02 PM7/31/13
to cecid-...@googlegroups.com, michel...@gmail.com
Hello,

I have the same problem, in wchich config files I have to change this parameters!?!

Thank you
Amel
Reply all
Reply to author
Forward
0 new messages