Hi Dan, i tryed the snap apache-cxf-2.0.3-incubator-20071016.175632-4 to check if attachments are ok, but there is still some problem...
After tons of testing i finally reproduce thos scenarios (Message send have 2 zip attachments): Client send and service simply echo the message: Client throws org.xml.sax.SAXParseException: Content is not allowed in prolog. With tcpmon i can see a little difference in attachment formatting.. tcpmon log [1] Client send and service write attachments on files before send back Attachments are perfects.. then same errors of first scenario Client send and service write the whole message, then the attachments, then send back: Writing the whole message with writeTo seems to corrupt the content: Looking the file written the second attachment is gone... When iterate the attachments to write them only one is found The attachment written is corrupt The message send back is cutted : tcpmon log [2] The client throws the same error I hope this can help... I wait 4 ur news Tell me if u build a snapshot with some fix so i can deeply test it. Thx, Lorenzo LOGS: [1] http://www.nabble.com/file/p13276118/scenario_1and2.log scenario_1and2.log [2] http://www.nabble.com/file/p13276118/scenario_3.log scenario_3.log -- View this message in context: http://www.nabble.com/SOAPMessage-with-Attachment-service-problems-tf4628726.html#a13276118 Sent from the cxf-user mailing list archive at Nabble.com.