It's always MIME. The media type is either multipart/related with
a type attribute of text/xml or it is text/xml. No sniffing required.
It should be noted that the issue of whether SOAP1.2 should adopt
application/xml, application/soap or application/soap+xml is currently
raging[1] again.
[1] http://lists.w3.org/Archives/Public/xml-dist-app/2001Sep/0085.html
Hopefully, we'll settle on application/soap or application/soap+xml;-)
Cheers,
Chris
Scott Hinkelman wrote:
>
> There has always been that concern in my mind that if it is not always
> MIME, then your endpoint code may have to sniff the message to determine if
> it is pure SOAP or a MIME. no?
>
> Scott Hinkelman, Senior Software Engineer
> XML Industry Enablement
> IBM e-business Standards Strategy
> 512-823-8097 (TL 793-8097) (Cell: 512-940-0519)
> srh@us.ibm.com, Fax: 512-838-1074
>
> "Burdett, David" <david.burdett@commerceone.com> on 09/20/2001 09:04:59 AM
>
> To: "'Dan Weinreb'" <dlw@exceloncorp.com>, dmoberg@cyclonecommerce.com
> cc: rsalz@zolera.com, "Burdett, David" <david.burdett@commerceone.com>,
> chris.ferris@sun.com, david@drummondgroup.com,
> ebxml-msg@lists.oasis-open.org
> Subject: RE: Use of MIME multipart for zero payload containers
>
> Can we have a firm proposal from one of our "SOAP experts" on what we
> should
> do to fix this issue as there seem to be several alternatives ...
>
> Regards
>
> David
>
>