2 Replies Latest reply on Sep 7, 2007 2:27 PM by Heiko Braun

    Axis vs Jboss compat issue

    aodhan hoffman Newbie

      Hi. I've got a webservice running on JBossAS 4.0.5 w/ JBossWS 1.2.1. I am able to use it fine over HTTP using a JBoss based client.

      I have a user who has an Axis based client who can't access the service. I get the following error trying to access an attribute of the submitted service parameter ( put another way, accessing a complex-type child element of the SOAP operation parameter ). I inspected the SOAP packet using a sniffer and it appears that the Axis client call is valid, though not identical to the JBoss client call.

      What should I look for? It's a really gnarly interop problem. All three, both clients and the service were generated from the same WSDL, so they should be following the same rules and schema.

      Here's the error, it looks like the child elements are not marshalling properly, but I don't have any idea how to troubleshoot that. Can anyone point in the right direction? Thanks!

      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.MessageContextJAXWS] Begin response processing
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@2098ff (Thread http-0.0.0.0-8080-2)
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@e107d9 (Thread http-0.0.0.0-8080-2)
      2007-07-18 14:30:17,875 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
      java.lang.NullPointerException
       at com.boeing.nmt.server.ws.NlsSoapServiceImpl.assetAssociationSet(NlsSoapServiceImpl.java:257)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
       at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
       at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
       at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
       at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] Cannot obtain fault meta data for: class java.lang.NullPointerException
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callFaultHandlerChain: PRE
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callFaultHandlerChain: ENDPOINT
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callFaultHandlerChain: POST
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] closeHandlerChain
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] closeHandlerChain
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] closeHandlerChain
      2007-07-18 14:30:17,875 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close