On the jsr181 SE side, MTOM is just a way to reference an attachment in the NormalizedMessage. Such attachments can be created from inside the bus [1] or using servicemix-http by sending a MIME request [2]
[1] http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-jsr181/src/test/java/org/apache/servicemix/jsr181/Jsr181MTOMTest.java?view=markup [2] http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpSpringTest.java?view=markup On 9/13/06, hiyer <[EMAIL PROTECTED]> wrote:
Hi, I tried with the latest servicemix-3.0 distribution and still get the same error. org.codehaus.xfire.fault.XFireFault: Unexpected character '-' (code 45) in prolog; expected '<' Is this what an MTOM SOAP request looks like? <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body><getDocument xmlns="http://webservices.sterling.com"><in0>abcd</in0></getDocument> </soap:Body> </soap:Envelope> ------=_Part_0_31063377.1158160888106-- Looks like the '------=_Part_0_31063377.1158160888106--' is the problem. Cheers, -- View this message in context: http://www.nabble.com/MTOM-with-XFire-binding-error-tf2142847.html#a6287819 Sent from the ServiceMix - User forum at Nabble.com.
-- Cheers, Guillaume Nodet
