0 Replies Latest reply on Aug 29, 2008 5:06 PM by Shiva Halhalli

    Problem Deploying StatelessSessionBean as JAX Websrvice on J

    Shiva Halhalli Newbie


      > Hi All,
      >
      > I am deployed an stateless session bean as JAX webservice on JBOSS
      > 4.2.2GA and when trying to invoke the Web service through client
      > Application.
      >
      > Please try to give some pointers on the error below
      >
      > 21:12:22,250 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 21:12:22,250 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 21:12:22,500 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3 21:12:22,500 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 21:12:22,515 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 21:12:22,515 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 21:12:22,562 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1035.war/
      > 21:12:23,015 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1036.wsdl_
      > 21:20:45,468 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
      > java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl
      > at
      > org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:60)
      > at
      > org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
      > at
      > org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
      > at
      > org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262)
      > at
      > org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:399)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > 21:20:45,734 ERROR [RequestHandlerImpl] Error processing web service
      > request
      > org.jboss.ws.WSException: java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at org.jboss.ws.WSException.rethrow(WSException.java:68)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:315)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
      > cationFilterChain.java:290)
      >
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > Caused by: java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
      > at
      > org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
      > at
      > org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > ... 22 more
      > 21:20:46,218 ERROR [[NewWebService]] Servlet.service() for servlet
      > NewWebService threw exception
      > java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
      > at
      > org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
      > at
      > org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
      > s(Http11Protocol.java:583)
      >
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > 22:46:49,234 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 22:46:49,234 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 22:46:49,234 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > is not registered
      > 22:46:49,234 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > is not registered
      > 22:46:49,234 INFO [TomcatDeployer] undeploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1035.war/
      > 22:46:49,359 INFO [DefaultEndpointRegistry] remove:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 22:47:45,968 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 22:47:45,968 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > with dependencies:
      > 22:47:45,984 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 22:47:46,015 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 22:47:46,015 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 22:47:46,250 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > 22:47:46,265 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 22:47:46,265 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 22:47:46,281 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 22:47:46,359 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1039.war/
      > 22:47:46,890 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1040.wsdl_
      > 23:04:52,281 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:04:52,296 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:04:52,296 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > is not registered
      > 23:04:52,296 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > is not registered
      > 23:04:52,296 INFO [TomcatDeployer] undeploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1039.war/
      > 23:04:52,812 INFO [DefaultEndpointRegistry] remove:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:05:11,515 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:05:11,515 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > with dependencies:
      > 23:05:11,531 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:05:11,546 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:05:11,546 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 23:05:11,781 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > 23:05:11,796 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:05:11,796 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 23:05:11,828 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:05:11,906 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1043.war/
      > 23:05:12,375 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1044.wsdl_
      > 23:23:42,609 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:23:42,609 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:23:42,609 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > is not registered
      > 23:23:42,625 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > is not registered
      > 23:23:42,625 INFO [TomcatDeployer] undeploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1043.war/
      > 23:23:43,156 INFO [DefaultEndpointRegistry] remove:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:23:56,203 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:23:56,203 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > with dependencies:
      > 23:23:56,218 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:23:56,234 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:23:56,234 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 23:23:56,671 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > 23:23:56,687 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:23:56,687 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 23:23:56,734 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:23:56,781 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1047.war/
      > 23:23:57,093 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1048.wsdl_
      > 23:40:32,156 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:40:32,156 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:40:32,156 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > is not registered
      > 23:40:32,156 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > is not registered
      > 23:40:32,156 INFO [TomcatDeployer] undeploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1047.war/
      > 23:40:32,484 INFO [DefaultEndpointRegistry] remove:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:40:42,000 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:40:42,000 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > with dependencies:
      > 23:40:42,015 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:40:42,031 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:40:42,031 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 23:40:42,468 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > 23:40:42,468 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:40:42,484 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 23:40:42,515 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:40:42,562 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1051.war/
      > 23:40:43,171 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1052.wsdl_
      > 23:55:51,984 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:55:51,984 INFO [EJBContainer] STOPPED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:55:51,984 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > is not registered
      > 23:55:51,984 WARN [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > is not registered
      > 23:55:51,984 INFO [TomcatDeployer] undeploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1051.war/
      > 23:55:52,500 INFO [DefaultEndpointRegistry] remove:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:56:06,562 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:56:06,562 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > with dependencies:
      > 23:56:06,562 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
      > 23:56:06,578 INFO [JmxKernelAbstraction] creating wrapper delegate
      > for: org.jboss.ejb3.stateless.StatelessContainer
      > 23:56:06,578 INFO [JmxKernelAbstraction] installing MBean:
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
      > =EJB3
      > with dependencies:
      > 23:56:06,781 INFO [JmxKernelAbstraction]
      > jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
      > e=EJB3
      > 23:56:06,796 INFO [EJBContainer] STARTED EJB:
      > org.mdacc.hp.ris.NewWebService ejbName: NewWebService
      > 23:56:06,796 INFO [EJB3Deployer] Deployed:
      > _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
      > e.jar_
      > 23:56:06,828 INFO [DefaultEndpointRegistry] register:
      > jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
      > 23:56:06,875 INFO [TomcatDeployer] deploy,
      > ctxPath=/TestJBoss_EJBWSHibernate,
      > warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1055.war/
      > 23:56:07,281 INFO [WSDLFilePublisher] WSDL published to:
      > _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
      > nate.jar/NewWebServiceService1056.wsdl_
      > 00:00:29,515 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
      > java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl
      > at
      > org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:60)
      > at
      > org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
      > at
      > org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
      > at
      > org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262)
      > at
      > org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:399)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > 00:00:29,687 ERROR [RequestHandlerImpl] Error processing web service
      > request
      > org.jboss.ws.WSException: java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at org.jboss.ws.WSException.rethrow(WSException.java:68)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:315)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
      > cationFilterChain.java:290)
      >
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > Caused by: java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
      > at
      > org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
      > at
      > org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > ... 22 more
      > 00:00:30,171 ERROR [[NewWebService]] Servlet.service() for servlet
      > NewWebService threw exception
      > java.lang.ClassCastException:
      > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
      > at
      > org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
      > at
      > org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
      > at
      > org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
      > at
      > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
      > at
      > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      > at
      > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      > at
      > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      > at
      > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      > at
      > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      > at
      > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      > at
      > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      > at
      > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      > at
      > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      > at
      > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      > at
      > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      > at
      > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      > at
      > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
      > s(Http11Protocol.java:583)
      >
      > at
      > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      > at java.lang.Thread.run(Thread.java:595)
      > Thanks & Regards
      > Shiva