|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-01-28 05:51:31
|
Hi,
> When I use AttachmentDataSource with type "text/xml" and thepayload is a xml
> document, I get an "unable to internalize message: invlaid type text/html"
> exception from msh. The message flow (send, ack, etc.) works fine with no
> attachments.
Are you using Hermes as the receiver or your own receiver? The
receiver should reply with SOAP (XML) content if there is any. There should
not be any html stuff. How do you package the EbxmlMessage with the
AttachmentDataSource?
> I saw the message that was being sent, and it has --Part...in the beginning.
> Apparently it is not a valid SOAP message that is being sent.
Why is it not valid? If a payload is added, the message being sent
is a MIME with those --Part... boundaries.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|