Hi Andreas,

Amila has mailed a sample code, which explains the problem that I've been
discussing. It is not the exact same code that I tried, but serves the
purpose. It seems that there is a problem at the axis2 level, given that
Axiom doesn't seem to have any issues w.r.t MTOM with all tests passing etc.

Thanks,
Senaka.

On Tue, Sep 1, 2009 at 2:51 AM, Andreas Veithen
<[email protected]>wrote:

> On Sun, Aug 30, 2009 at 19:03, Senaka Fernando<[email protected]> wrote:
> > Hi Andreas,
> >
> > On Sun, Aug 30, 2009 at 9:20 PM, Andreas Veithen
> > <[email protected]>wrote:
> >
> >> Is the MIME message that Axiom is trying to parse generated by Axiom
> >> or by some other framework?
> >
> >
> > All of this happens within Axis2, and therefore, I believe that this
> should
> > be generated by Axiom (or by Axis2 if it does so). Is there any
> possibility
> > for me to log the incoming message at some point so that it would be
> easier
> > for us to understand what happens?
> >
>
> Try to use TCPMon or Wireshark.
>
> Thanks,
>
> Andreas
>
> > Thanks,
> > Senaka.
> >
> >>
> >>
> >> Andreas
> >>
> >> On Fri, Aug 28, 2009 at 05:35, Senaka Fernando<[email protected]> wrote:
> >> > Hi Andreas,
> >> >
> >> > On Fri, Aug 28, 2009 at 12:24 AM, Andreas Veithen <
> >> [email protected]
> >> >> wrote:
> >> >
> >> >> What about Axiom 1.2.8? Does it work with that version?
> >> >
> >> >
> >> > Yes it does. But, not with 1.2.9-SNAPSHOT.
> >> >
> >> > Thanks,
> >> > Senaka.
> >> >
> >> >>
> >> >>
> >> >> 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.
> >> >> >
> >> >>
> >> >
> >>
> >
>

Reply via email to