Mantis - Resin
Viewing Issue Advanced Details
1594 major always 01-31-07 16:30 03-02-07 22:05
asklxf  
 
normal  
closed 3.1.0  
fixed  
none    
none 3.1.1  
0001594: Export web services with XFire 1.2.2 cause UnsupportedOperationException
When client (visual studio 2005) calls web services exported with XFire 1.2.2 in Resin 3.1.0, an UnsupportedOperationException is thrown. But it works OK with Resin 3.0.21.

Maybe there is something wrong with xml namespace parsing.
Exception trace:

java.lang.UnsupportedOperationException
Fault occurred!
java.lang.UnsupportedOperationException
    at com.caucho.xml.stream.NamespaceContextImpl.getNamespaceURI(NamespaceContextImpl.java:121)
    at org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:154)
    at org.codehaus.xfire.aegis.stax.ElementWriter.writeStartElement(ElementWriter.java:105)
    at org.codehaus.xfire.aegis.stax.ElementWriter.<init>(ElementWriter.java:61)
    at org.codehaus.xfire.aegis.stax.ElementWriter.<init>(ElementWriter.java:44)
    at org.codehaus.xfire.aegis.stax.ElementWriter.getElementWriter(ElementWriter.java:156)
    at org.codehaus.xfire.aegis.type.basic.ArrayType.writeValue(ArrayType.java:288)
    at org.codehaus.xfire.aegis.type.basic.ArrayType.writeObject(ArrayType.java:210)
    at org.codehaus.xfire.aegis.AegisBindingProvider.writeParameter(AegisBindingProvider.java:200)
    at org.codehaus.xfire.service.binding.AbstractBinding.writeParameter(AbstractBinding.java:273)
    at org.codehaus.xfire.service.binding.WrappedBinding.writeMessage(WrappedBinding.java:89)
    at org.codehaus.xfire.soap.SoapSerializer.writeMessage(SoapSerializer.java:80)
    at org.codehaus.xfire.transport.http.HttpChannel.writeWithoutAttachments(HttpChannel.java:56)
    at org.codehaus.xfire.transport.http.XFireServletChannel.sendViaServlet(XFireServletChannel.java:85)
    at org.codehaus.xfire.transport.http.XFireServletChannel.send(XFireServletChannel.java:44)
    at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
    at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
    at org.codehaus.xfire.service.binding.PostInvocationHandler.invoke(PostInvocationHandler.java:36)
    at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
    at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
    at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
    at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:301)
    at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130)
    at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:595)

There are no notes attached to this issue.