axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Allen" <dal...@nist.gov>
Subject RE: Interoperative attachments
Date Wed, 29 Jan 2003 14:10:34 GMT


> -----Original Message-----
> From: Dennis Sosnoski [mailto:dms@sosnoski.com]
> Sent: Tuesday, January 28, 2003 5:16 PM
> To: axis-user@xml.apache.org
> Subject: Re: Interoperative attachments
>
>
> Hmmm. So this means SOAP implementations that *don't* encode MIME
> attachments work as long as the data being sent doesn't happen to
> include the boundary pattern. In other words, they're broken? ;-)
>
> Seriously, I don't see this as a big deal as long as it's spelled out to
> the users of the implementation that they need to avoid this pattern in
> attachments, if necessary encoding the data themselves. I assume it *is*
> spelled out somewhere - I haven't tried using attachments yet, so I
> haven't looked at this part of things.
>
>   - Dennis

	Doesn't seem to have been a problem in practice either ;-)

	Dan
>
> Simon Fell wrote:
>
> > MIME does use separators (called boundaries in MIME). The code
> > generating the MIME boundary is required to guarantee that the
> > boundary doesn't appear in the payload.
> >
> > Cheers
> > Simon
> >
> > -----Original Message-----
> > From: Dennis Sosnoski [mailto:dms@sosnoski.com]
> > Sent: Tuesday, January 28, 2003 1:57 PM
> > To: axis-user@xml.apache.org
> > Subject: Re: Interoperative attachments
> >
> >
> > I thought MIME used separators, which would mean it requires some sort
> > of encoding/escaping to avoid the separator appearing in data. How
> > *does* MIME handle delimiting parts?
> >
> >   - Dennis
> >
> > Simon Fell wrote:
> >
> > > It doesn't when transported over an 8 bit clean transport (such as
> > > http), although Apache SOAP would encode it anyway, don't know if axis
> > > does. But that is an implementation limitation, not an issue with MIME
> > > itself.
> > >
> > > Cheers
> > > Simon
> > > www.pocketsoap.com
> > >
> > > -----Original Message-----
> > > From: Norris Merritt [mailto:norris.merritt@peregrine.com]
> > > Sent: Tuesday, January 28, 2003 1:08 PM
> > > To: 'axis-user@xml.apache.org'
> > > Subject: RE: Interoperative attachments
> > >
> > >
> > > If you have an binary type of attachment such as image/jpeg, then it
> > > has to
> > > be Base-64 encoded if MIME is used
> > >
> > > -----Original Message-----
> > > From: Dan Allen [mailto:dallen@nist.gov]
> > > Sent: Tuesday, January 28, 2003 12:40 PM
> > > To: axis-user@xml.apache.org
> > > Subject: RE: Interoperative attachments
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Norris Merritt [mailto:norris.merritt@peregrine.com]
> > > > Sent: Tuesday, January 28, 2003 2:09 PM
> > > > To: 'axis-user@xml.apache.org'
> > > > Subject: RE: Interoperative attachments
> > > >
> > > >
> > > > I've had success with the Axis 1.1 beta DIME support demonstrated in
> > > the
> > > > echoAttachments sample (which also has a mode in which it uses
> > > MIME). Axis
> > > > 1.1 beta DIME support interoperates both with gSOAP and
> .NET.  For my
> > > money
> > > > DIME is the way to go, especially with attachments that would
> > otherwise
> > > need
> > > > to be Base-64 encoded. Its much more efficient than MIME.
> > >
> > >         Why would a MIME attachement need to be Base-64 encoded?
> > >
> > >         Dan
> > >
> >
>


Mime
View raw message