Unfortunately library footprint is a big deal to my boss. I've been getting a lot of pressure to use websphere's Jax-ws implementation so I'm trying to keep thirdparty jars to a minimum so they cannot use that as an excuse. High performance is not a strong requirement at the moment for my project so
The IBM's Stax implementation has appeared to work fine otherwise. I'll probably just not use MTOM for the time being and if I do eventually need to use MTOM I'll switch to woodstox. If you happen to find something to change that perhaps should be done anyway (like possibly calling setPrefix on the writer???) then that would be great. Thanks, Mike dkulp wrote: > > > Honestly, I think your best bet is to just grab woodstox and use it. > It's a > faster parser by far and it's also the most tested with CXF. > > I know the Axiom guys have spent a LOT of time the last couple weeks > trying to > workaround issues with the way IBM tried to interpret the Stax spec which > causes their stax writers to behave very differently than the Sun and > Woodstox > parsers. This might be one of those areas. > > I'll trying building cxf with the IBM jdk/parsers and seeing if anything > obvious jumps out. > > > Dan > > > On Tue August 25 2009 3:14:48 pm youngm wrote: >> Thanks for the tip. I tried it and got the same error. :( I'm going to >> try submitting a bug to IBM about that. If anyone has any other ideas >> I'll >> gladly try them. >> >> Thanks, >> Mike >> >> Glen Mazza 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.ht >> >ml#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? > > -- > Daniel Kulp > [email protected] > http://www.dankulp.com/blog > > -- View this message in context: http://www.nabble.com/Problem-generating-schema-when-using-MTOM-with-Websphere-7-tp25119908p25140989.html Sent from the cxf-user mailing list archive at Nabble.com.
