> [15:53:23.921]        at
> com.caucho.xml.QAbstractNode.lookupNamespaceURI(QAbstractNode.java:382)
> [15:53:23.921]        at

This is an OLD version of the DOM API's.   We need a level 3 implementation.  
I would check to see if they have a newer version of their parser libs 
available.   If not, I would suggest switching to Xerces or something that is 
newer.

Dan



On Sunday 03 August 2008 9:58:26 am Ronald Pieterse wrote:
> Thanx for the response, Dan.
>
> I use maven in this project so all the dependency updates came with CXF
> e.g. XmlSchema is at version 1.4.2
> The full stack trace is below:
>
> [15:53:23.921] Interceptor has thrown exception, unwinding now
> [15:53:23.921] java.lang.UnsupportedOperationException
> [15:53:23.921]        at
> com.caucho.xml.QAbstractNode.lookupNamespaceURI(QAbstractNode.java:382)
> [15:53:23.921]        at
> org.apache.cxf.staxutils.W3CDOMStreamReader.getNamespaceURI(W3CDOMStreamRea
>der.java:181) [15:53:23.921]   at
> org.apache.cxf.staxutils.W3CDOMStreamReader.getNamespaceURI(W3CDOMStreamRea
>der.java:330) [15:53:23.921]   at
> org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:352)
> [15:53:23.921]        at
> org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:325)
> [15:53:23.921]        at
> org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:313)
> [15:53:23.921]        at
> org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:299)
> [15:53:23.921]        at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelop
>eStart(SoapOutInterceptor.java:121) [15:53:23.921]     at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(So
>apOutInterceptor.java:76) [15:53:23.921]       at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(So
>apOutInterceptor.java:57) [15:53:23.921]       at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
>n.java:221) [15:53:23.921]     at
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingC
>hainInterceptor.java:74) [15:53:23.921]        at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
>n.java:221) [15:53:23.921]     at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationO
>bserver.java:77) [15:53:23.921]        at
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestinati
>on.java:92) [15:53:23.921]     at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Servle
>tController.java:283) [15:53:23.921]   at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController
>.java:166) [15:53:23.921]      at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServl
>et.java:174) [15:53:23.921]    at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServl
>et.java:152) [15:53:23.921]    at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:154)
> [15:53:23.921]        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
> [15:53:23.921]        at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.j
>ava:106) [15:53:23.921]        at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:
>173) [15:53:23.921]    at
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java
>:229) [15:53:23.921]   at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
> [15:53:23.921]        at
> com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
> [15:53:23.921]        at 
> com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
> [15:53:23.921]        at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
> [15:53:23.921]        at java.lang.Thread.run(Thread.java:595)
>
> dkulp wrote:
> > Can you get a full stack trace?    Also, did you update the other
> > libraries (like XmlSchema to 1.4.x) that go along with it?
> >
> > Dan
> >
> > On Aug 1, 2008, at 2:59 AM, Ronald Pieterse wrote:
> >> Hello.
> >>
> >> Until this morning I was using CXF version 2.0.5-incubator for my
> >> services
> >> (yes I know, I should check for upgrades more often ;-) and decided
> >> I wanted
> >> to upgrade to 2.0.8. btw, I'm using it with spring 2.5.5.
> >> It all went smooth - no changes needed at all - until I made a
> >> service call.
> >> The call itself went fine but it threw an
> >> UnsupportedOperationException from
> >> the <jaxws:outInterceptors> I am using.
> >> If I take the outInterceptors and outFaultInterceptors stuff out it
> >> works
> >> fine.
> >> Is there something I should have done or changed?
> >>
> >> In my spring file the service configuration is:
> >>
> >>    <jaxws:endpoint id="dialogueService15" implementor="#dialogueBean15"
> >>            implementorClass="com.tripolis.api.impl.DialogueServiceImpl15"
> >>            address="/1.5/DialogueService">
> >>            <jaxws:outInterceptors>
> >>                    <ref bean="soapHeaderSetter15" />
> >>            </jaxws:outInterceptors>
> >>            <jaxws:outFaultInterceptors>
> >>                    <ref bean="soapHeaderSetter15" />
> >>            </jaxws:outFaultInterceptors>
> >>    </jaxws:endpoint>
> >>
> >> Greetz,
> >> Ronald
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/upgrade-from-2.0.5-to-2.0.8-%3A%3A-%3Cjaxws%3AoutI
> >>nterceptors%3E-throws-exception-tp18769193p18769193.html Sent from the
> >> cxf-user mailing list archive at Nabble.com.
> >
> > ---
> > Daniel Kulp
> > [EMAIL PROTECTED]
> > http://www.dankulp.com/blog



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to