What about Axiom 1.2.8? Does it work with that version? Andreas
On Thu, Aug 27, 2009 at 18:01, Senaka Fernando<[email protected]> wrote: > Hi all, > > Wonder what could be the reason to the following exception, that is thrown > when using a build from the trunk. The same code worked fine with axiom > 1.2.7. While I do some investigation into this, I wonder whether someone > knows of any possible change which could have caused this? > > org.apache.axiom.om.OMException: java.io.IOException: End of Stream, but > boundary not found > at > org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:172) > at > org.apache.axiom.attachments.Attachments.getPart(Attachments.java:706) > at > org.apache.axiom.attachments.Attachments.getNextPartDataHandler(Attachments.java:624) > at > org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:350) > at org.apache.axiom.attachments.Attachments.<init>(Attachments.java:247) > at > org.apache.axis2.builder.BuilderUtil.createAttachments(BuilderUtil.java:588) > at > org.apache.axis2.builder.BuilderUtil.createAttachmentsMap(BuilderUtil.java:539) > at > org.apache.axis2.builder.MIMEBuilder.processDocument(MIMEBuilder.java:39) > at > org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197) > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145) > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108) > ... 100 more > Caused by: java.io.IOException: End of Stream, but boundary not found > at > org.apache.axiom.attachments.BoundaryPushbackInputStream.read(BoundaryPushbackInputStream.java:258) > at > org.apache.axiom.attachments.BoundaryPushbackInputStream.read(BoundaryPushbackInputStream.java:141) > at > org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:101) > at > org.apache.axiom.attachments.impl.PartFactory.readHeaders(PartFactory.java:192) > at > org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:95) > ... 110 more > > Thanks, > Senaka. >
