users@jax-ws.java.net

Re: MTOM Interoperability - exact compare

From: Florian Rengers <rengers_at_grit.de>
Date: Fri, 07 Apr 2006 13:41:07 +0200

Vivek Pandey wrote:

> Florian Rengers wrote:
>
>> I found that the namespace of the mime-type of the binary-attachment
>> in the JAX-WS response is wrong set!!
>
> I think its correct. Its defined in the w3c note[1] and as per this
> the xmime namespace should be : http://www.w3.org/2005/05/xmlmime
> which is what we generate.

Yes, but it is declared as "n2" and used as "xmime"!

<soapenv:Envelope ...
                    xmlns:ns2="http://www.w3.org/2005/05/xmlmime">
...
<ns1:geoComponent xmime:contentType="application/pdf">
...

greetings
Florian