I'm using
IBM JDK's JaxB implementation
CXF 2.2.3
my model is annotated @XmlMimeType("application/octet-stream")

Through the course of debugging if I through a debug expression call
XMLStreamWriter.setPrefix("ns1", "http://www.w3.org/2005/05/xmlmime";) then
it works.  Should CXF perhaps be calling setPrefix somewhere?

Mike


bimargulies wrote:
> 
> What data binding are you using? What version of CXF?
> 
> On Mon, Aug 24, 2009 at 6:17 PM, Glen Mazza<[email protected]> wrote:
>>
>> The heart of your problem seems to be the "The namespace URI
>> "http://www.w3.org/2005/05/xmlmime"; has not been bound to a prefix."
>> message.  Googling that message without the URI appears to suggest
>> there's
>> an isRepairingNamespace() property that can be set to fix that problem,
>> but
>> I'm not certain:
>>
>> http://java.sun.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html#writeStartElement(java.lang.String,%20java.lang.String)
>>
>> HTH,
>> Glen
>>
>>
>> youngm wrote:
>>>
>>> I'm using CXF in Websphere 7.  I'm trying to use the IBM JDK's stax
>>> library.  Everything seems to work fine but when I try to get a WSDL
>>> with
>>> a schema that is using MTOM I get the following stack trace.
>>>
>>> It appears to work fine when using the Sun JDK.  Any thoughts?  I'm not
>>> the best at Stax but does this look like a CXF bug?
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-generating-schema-when-using-MTOM-with-Websphere-7-tp25119908p25123686.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-generating-schema-when-using-MTOM-with-Websphere-7-tp25119908p25140537.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to