9 Replies Latest reply on Jun 5, 2007 9:12 AM by Heiko Braun

    JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails

    Juergen Zimmermann Master

      I upgraded JEMS 1.2 (and therefore JBoss 4.0.5) to use JBossWS 1.2.0CR2 and JBossXB1.0.0CR8.

      1) wsdl4j.jar was missing in server/default/deploy/jbossws.sar. I copied it from the client directory

      2) When invoking a web service I get the following stack trace. Any hint is appreciated!

      2007-01-15 15:56:04,284 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:25s:593ms
      2007-01-15 15:56:24,884 DEBUG [org.jboss.ws.core.server.AbstractServiceEndpointServlet] doPost: /hska/KundenverwaltungService
      2007-01-15 15:56:24,904 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@158fd70 (Thread http-0.0.0.0-8080-1)
      2007-01-15 15:56:24,904 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [authorization=Basic MjoycGFzc3dvcmQ=]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [soapaction=]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-type=text/xml; charset="utf-8"]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [accept=text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [user-agent=Java/1.5.0_10]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [host=localhost:8080]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [connection=keep-alive]
      2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-length=207]
      2007-01-15 15:56:24,954 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
      2007-01-15 15:56:24,954 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage
      <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:findNachname xmlns:ns2="http://ws.hska.de/jaws"><long_1>71</long_1></ns2:findNachname></S:Body></S:Envelope>
      2007-01-15 15:56:24,994 DEBUG [javax.xml.soap.SOAPFactory] Cannot load factory: org.jboss.axis.soap.SOAPFactoryImpl
      2007-01-15 15:56:24,994 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding
      2007-01-15 15:56:25,004 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
      javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation
       at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:96)
       at org.jboss.ws.core.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:113)
       at org.jboss.ws.core.soap.SAAJPayloadBuilderDOM.build(SAAJPayloadBuilderDOM.java:86)
       at org.jboss.ws.core.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:254)
       at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
       at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:184)
       at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383)
       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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
       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-01-15 15:56:25,014 DEBUG [javax.xml.soap.MessageFactory] Cannot load factory: org.jboss.axis.soap.MessageFactoryImpl
      2007-01-15 15:56:25,014 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] Error creating SOAPFault message
      javax.xml.soap.SOAPException: Cannot find MessageFactory implementation
       at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:111)
       at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:230)
       at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:160)
       at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101)
       at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515)
       at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220)
       at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383)
       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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
       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-01-15 15:56:25,014 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] END handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService
      2007-01-15 15:56:25,024 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@158fd70 (Thread http-0.0.0.0-8080-1)
      2007-01-15 15:56:25,024 ERROR [org.jboss.ws.core.server.AbstractServiceEndpointServlet] Error processing web service request
      javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation
       at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:168)
       at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101)
       at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515)
       at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220)
       at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383)
       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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
       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-01-15 15:56:25,034 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hska/KundenverwaltungService].[KundenverwaltungService]] Servlet.service() for servlet KundenverwaltungService threw exception
      javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation
       at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:168)
       at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101)
       at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515)
       at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220)
       at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383)
       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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
       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)


        • 1. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
          Thomas Diesler Master

          This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first.

          In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0

          • 2. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
            Juergen Zimmermann Master

            So far the classpath issues are solved. Now I get this stacktrace:

            2007-02-01 17:50:16,266 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 42s:842ms
            2007-02-01 17:50:34,873 DEBUG [org.jboss.ws.core.server.AbstractServiceEndpointServlet] doPost: /hska/KundenverwaltungService
            2007-02-01 17:50:34,883 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@18c3efb (Thread http-0.0.0.0-8080-1)
            2007-02-01 17:50:34,883 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [authorization=Basic Mjoy]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [soapaction=]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-type=text/xml; charset="utf-8"]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [accept=text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [user-agent=Java/1.5.0_10]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [host=localhost:8080]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [connection=keep-alive]
            2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-length=202]
            2007-02-01 17:50:34,903 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
            2007-02-01 17:50:34,903 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage
            <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:findNachname xmlns:ns2="http://ws.hska.de"><long_1>71</long_1></ns2:findNachname></S:Body></S:Envelope>
            2007-02-01 17:50:34,933 DEBUG [javax.xml.soap.MessageFactory] Load from Service API META-INF/services/javax.xml.soap.SOAPFactory: org.jboss.ws.core.soap.SOAPFactoryImpl
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Envelope
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addNamespaceDeclaration: xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Header
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Header
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Envelope -> {http://schemas.xmlsoap.org/soap/envelope/}Header
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Body
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Body
            2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Envelope -> {http://schemas.xmlsoap.org/soap/envelope/}Body
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://ws.hska.de}ns2:findNachname
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://ws.hska.de}findNachname
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] addChildElement: {http://ws.hska.de}findNachname
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Body -> {http://ws.hska.de}findNachname
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] appendChild: ns2:findNachname
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addNamespaceDeclaration: xmlns:ns2='http://ws.hska.de'
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {}long_1
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: long_1
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://ws.hska.de}findNachname -> long_1
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] Ignore attribute: [uri=null,qname=xmlns,value=]
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] setXMLFragment: <long_1 xmlns=''>71</long_1>
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] removeContentsAsIs
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] removeContents
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildElements
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] resetElementContent
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateDOMContent
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateObjectContent
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateXMLContent
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateDOMContent
            2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateObjectContent
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: PRE
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST
            2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [service={http://ws.hska.de}KundenverwaltungService,port={http://ws.hska.de}KundenverwaltungSEIPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]
            2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
            2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildElements
            2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildNodes
            2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.soap.SOAPMessageDispatcher] getDispatchDestination: {http://ws.hska.de}findNachname
            2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindRequestMessage: {http://ws.hska.de}findNachname
            2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildElements
            2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildNodes
            2007-02-01 17:50:34,963 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
            org.jboss.ws.WSException: Cannot find child element: arg0
             at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:749)
             at org.jboss.ws.core.CommonSOAPBinding.unbindRequestMessage(CommonSOAPBinding.java:265)
             at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:147)
             at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:203)
             at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383)
             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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
             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)


            • 3. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
              Heiko Braun Master

              This looks to me as if the client uses default names for wrapped parameters but the service impl uses named ones. It it a doclit/wrapped service? How did you create the client artefacts?

              • 4. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
                Heiko Braun Master

                Sorry, i think that was complete BS. What mode are you using?

                • 5. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
                  Juergen Zimmermann Master

                  I'm using an EJB3 stateless session bean annotated with:

                  @WebService(name="KundenverwaltungSEI", serviceName="KundenverwaltungService")
                  @SOAPBinding(style=RPC)
                  @Stateless(name="KundenverwaltungService")
                  @Remote(KundenverwaltungService.class)
                  @RolesAllowed(ROLLE_MITARBEITER)
                  @PortComponent(contextRoot="/hska/KundenverwaltungService", urlPattern="/*", authMethod="BASIC", transportGuarantee="NONE")
                  @SecurityDomain(LOGIN_DOMAIN_HSKA)


                  • 6. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
                    Andre Fernando Salvati Novice

                     

                    "thomas.diesler@jboss.com" wrote:
                    This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first.

                    In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0


                    Got the same problem with 4.2.0 and with 4.0.5 + jbossws-1.2.1.GA:

                    http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107728

                    How can I be sure that jboss-jaxrpc.jar is seen first!?

                    • 7. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
                      Akhil Bhaskar Newbie

                      A similar issue I'm having, but this involves an EJB3 SLSB exposed as a webservice. I'm getting an error when deploying my EJB (built using Maven2 as an 'ejb' jar)


                      JBoss 4.0.5.GA
                      JBossWS 1.2.1.GA (build=200704161533)
                      JBoss EJB 3.0 RC9 Patch 1


                      my EJB:
                      @Stateless
                      @WebService
                      public class DnCommitmentBean extends BaseServiceBean implements DnCommitment
                      {
                      
                       @WebMethod
                       public DnCommitmentVo[] getDnCommitmentList(byte[] authenticationInfo) throws FhlbServiceException
                      


                      12:31:19,986 DEBUG [JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class com.fhlb.service.dncommitment.business.jaxws.GetDnCommitmentList, class com.fhlb.service.dncommitment.business.jaxws.GetDnCommitmentListResponse, class com.fhlb.service.dncommitment.business.jaxws.FhlbServiceExceptionBean, class com.fhlb.service.dncommitment.business.jaxws.SaveDnCommitment, class com.fhlb.service.dncommitment.business.jaxws.SaveDnCommitmentResponse, class com.fhlb.service.dncommitment.business.jaxws.FhlbServiceExceptionBean],tns=http://business.dncommitment.service.fhlb.com/]
                      12:31:20,659 DEBUG [WSDLDefinitionsFactory] parse: file:/Applications/jboss-4.0.5.GA/server/default/tmp/jbossws/DnCommitmentBeanService20342.wsdl
                      12:31:20,825 DEBUG [JavaToXSD] Load schema: http://business.dncommitment.service.fhlb.com/=file:/Applications/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_business.dncommitment.service.fhlb.com_20343.xsd
                      12:31:20,825 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=file:/Applications/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_business.dncommitment.service.fhlb.com_20343.xsd]
                      12:31:20,831 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null]
                      12:31:20,861 DEBUG [EndpointMetaData] Create new config [name=Standard Endpoint,file=META-INF/standard-jaxws-endpoint-config.xml]
                      12:31:20,864 DEBUG [JBossWSConfigFactory] getConfig: [name=Standard Endpoint,url=META-INF/standard-jaxws-endpoint-config.xml]
                      12:31:20,865 DEBUG [JBossWSConfigFactory] parse: file:/Applications/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
                      12:31:20,866 ERROR [ServiceEndpointDeployer] Cannot create service endpoint
                      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
                       at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
                       at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:76)
                       at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:134)
                       at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:683)
                       at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:152)
                       at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49)
                       at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:77)
                       at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:92)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEndpoint(DeployerInterceptor.java:127)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptorEJB.createServiceEndpoint(DeployerInterceptorEJB.java:43)
                       at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:78)
                       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
                       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy29.create(Unknown Source)
                       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                       at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy8.deploy(Unknown Source)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                       at $Proxy0.start(Unknown Source)
                       at org.jboss.system.ServiceController.start(ServiceController.java:417)
                       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy4.start(Unknown Source)
                       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                       at $Proxy5.deploy(Unknown Source)
                       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                       at org.jboss.Main.boot(Main.java:200)
                       at org.jboss.Main$1.run(Main.java:490)
                       at java.lang.Thread.run(Thread.java:613)
                      Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
                       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:96)
                       at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:55)
                       at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
                       ... 84 more
                      Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
                       at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
                       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
                       ... 86 more
                      


                      I had some other annotations, but cleared them out to test out the most simple implementation. I have used this in previous versions (I'm pretty sure 4.0.4) and have had success with this. The WSDL is generated - I see it in the ${INSTANCE}/tmp/jbossws/ directory, but the XSD is not in there. What am I missing?

                      Thanks
                      -Akhil

                      • 8. Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
                        Juergen Zimmermann Master

                        Meanwhile I switched to JBoss 4.2 and the problem is gone