0 Replies Latest reply on Jun 15, 2006 9:53 AM by Scott Jones

    JBoss 4.0.2 Client Soap Handler getting UnsupportedOperation

    Scott Jones Newbie

      I have an ejb that needs to talk to a SOAP service. It does fine talking to this service without setting SOAP header. But I need to set two SOAP headers. When I add

       <handlerChains>
       <chain runAt="client">
       <handler className="......BillingClientHandler"/>
       <handler className="........TransactionClientHandler"/>
       </chain>
       </handlerChains>
      


      I deploy and run and get the following stack trace
      2006-06-15 08:37:47,493 INFO [STDOUT] java.lang.UnsupportedOperationException: importNode
      2006-06-15 08:37:47,493 INFO [STDOUT] at org.jboss.axis.message.SOAPDocumentImpl.importNode(SOAPDocumentImpl.java:240)
      2006-06-15 08:37:47,493 INFO [STDOUT] at org.jboss.axis.MessagePart.importNode(MessagePart.java:1223)
      2006-06-15 08:37:47,493 INFO [STDOUT] at com.sun.xml.rpc.streaming.XmlTreeWriter.addNewNode(XmlTreeWriter.java:108)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.sun.xml.rpc.streaming.XmlTreeWriter.startElement(XmlTreeWriter.java:142)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:558)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.acxiom.id.germanMover.mover.gend.GermanMoverEndpoint_Stub.selectByNameAddress(GermanMoverEndpoint_Stub.java:69)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.acxiom.german.mover.gui.mbean.mover.GermanMoverGUICall.makeSOAPCall(GermanMoverGUICall.java:29)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2006-06-15 08:37:47,513 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      2006-06-15 08:37:47,513 INFO [STDOUT] at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      2006-06-15 08:37:47,513 INFO [STDOUT] at $Proxy55.makeSOAPCall(Unknown Source)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.acxiom.german.mover.gui.pages.GermanMover.callGermanMover(GermanMover.java:193)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2006-06-15 08:37:47,513 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2006-06-15 08:37:47,513 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
      2006-06-15 08:37:47,513 INFO [STDOUT] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
      2006-06-15 08:37:47,513 INFO [STDOUT] at javax.faces.component.UICommand.broadcast(UICommand.java:312)
      2006-06-15 08:37:47,513 INFO [STDOUT] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
      2006-06-15 08:37:47,513 INFO [STDOUT] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
      2006-06-15 08:37:47,523 INFO [STDOUT] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
      2006-06-15 08:37:47,523 INFO [STDOUT] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      2006-06-15 08:37:47,523 INFO [STDOUT] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
      2006-06-15 08:37:47,523 INFO [STDOUT] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:193)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2006-06-15 08:37:47,523 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2006-06-15 08:37:47,695 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2006-06-15 08:37:47,735 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      2006-06-15 08:37:47,735 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      2006-06-15 08:37:47,735 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      2006-06-15 08:37:47,735 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)