[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround the intermittent failure in WFLY testsuite
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3973:
----------------------------------
Fix Version/s: jbossws-cxf-5.2.0.Final
> Disable schema cache to workaround the intermittent failure in WFLY testsuite
> -----------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: …
[View More]JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.2.0.Final
>
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 2 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround the intermittent failure in WFLY testsuite
by Jim Ma (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Jim Ma updated JBWS-3973:
-------------------------
Description:
We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it …
[View More]seems there is some dirty schema is read from the WSDLManagerImpl.
{noformat}
org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
at javax.xml.ws.Service.getPort(Service.java:188)
at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
------- Stdout: -------
12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
[0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
[0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
{noformat}
{noformat}
Running org.jboss.as.test.xts.wsat.client.ATTestCase
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy176.invoke(Unknown Source)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy255.saveData(Unknown Source)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
Results :
Failed tests:
BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
Tests in error:
ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
{noformat}
was:
We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
{noformat}
org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
at javax.xml.ws.Service.getPort(Service.java:188)
at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
------- Stdout: -------
12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
[0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
[0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
{noformat}
{noformat}
{code}
Running org.jboss.as.test.xts.wsat.client.ATTestCase
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy176.invoke(Unknown Source)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy255.saveData(Unknown Source)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
Results :
Failed tests:
BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
Tests in error:
ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
{code}
{noformat}
> Disable schema cache to workaround the intermittent failure in WFLY testsuite
> -----------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 2 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround the intermittent failure in WFLY testsuite
by Jim Ma (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Jim Ma updated JBWS-3973:
-------------------------
Description:
We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it …
[View More]seems there is some dirty schema is read from the WSDLManagerImpl.
{noformat}
org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
at javax.xml.ws.Service.getPort(Service.java:188)
at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
------- Stdout: -------
12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
[0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
[0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
{noformat}
{noformat}
{code}
Running org.jboss.as.test.xts.wsat.client.ATTestCase
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy176.invoke(Unknown Source)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy255.saveData(Unknown Source)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
Results :
Failed tests:
BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
Tests in error:
ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
{code}
{noformat}
was:
We got several intermittent failures like following in wildfly test suite InjectionTestCase and XTS test suite. This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
{noformat}
org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
at javax.xml.ws.Service.getPort(Service.java:188)
at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
------- Stdout: -------
12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
[0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
[0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
{noformat}
{noformat}
{code}
Running org.jboss.as.test.xts.wsat.client.ATTestCase
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy176.invoke(Unknown Source)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy255.saveData(Unknown Source)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
Results :
Failed tests:
BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
Tests in error:
ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
{code}
{noformat}
> Disable schema cache to workaround the intermittent failure in WFLY testsuite
> -----------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> {code}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {code}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 2 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround the intermittent failure in WFLY testsuite
by Jim Ma (JIRA)
Jim Ma created JBWS-3973:
----------------------------
Summary: Disable schema cache to workaround the intermittent failure in WFLY testsuite
Key: JBWS-3973
URL: https://issues.jboss.org/browse/JBWS-3973
Project: JBoss Web Services
Issue Type: Task
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.1.2.Final
Reporter: Jim Ma
Assignee: Jim Ma
We got several intermittent failures …
[View More]like following in wildfly test suite InjectionTestCase and XTS test suite. This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
{noformat}
org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
at javax.xml.ws.Service.getPort(Service.java:188)
at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
------- Stdout: -------
12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
[0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
[0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
{noformat}
{noformat}
{code}
Running org.jboss.as.test.xts.wsat.client.ATTestCase
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy176.invoke(Unknown Source)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy255.saveData(Unknown Source)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
Results :
Failed tests:
BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
Tests in error:
ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
{code}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 2 months
[JBoss JIRA] (JBWS-3964) Incorrect behaviour with @WebParam(header = true, mode = IN)
by Xavier Dury (JIRA)
[ https://issues.jboss.org/browse/JBWS-3964?page=com.atlassian.jira.plugin.... ]
Xavier Dury edited comment on JBWS-3964 at 1/7/16 6:04 AM:
-----------------------------------------------------------
Thanks for your response.
As the {{IN Holder}} was being populated, I thought it was perfectly legal to use a {{Holder}} for incoming header parameters (even if there is no real need to use a {{Holder}} there).
Nevertheless, there is still something strange happening when a {{OUT Holder}} is …
[View More]set to null.
{code}
@Stateless
@WebService(name = "MyEchoService", targetNamespace = "urn:echo")
public class MyEchoService {
@WebResult(name = "result")
public String echo(
@WebParam(name = "message") String message,
@WebParam(name = "paramOut", mode = Mode.OUT, header = true) Holder<String> paramOut) {
paramOut.value = null;
return "echo " + message;
}
}
{code}
That parameter appears in the body of the soap reponse instead of the header:
{code}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echo xmlns="urn:echo">
<message>hello world!</message>
</echo>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echoResponse xmlns="urn:echo">
<result>echo hello world!</result>
</echoResponse>
<paramOut xsi:nil="true" xmlns="urn:echo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</soap:Body>
</soap:Envelope>
{code}
was (Author: xdury):
Thanks for your response.
As the {{IN Holder}} was being populated, I thought it was perfectly legal to use a {{Holder}} for incoming header parameters (even if there is no real need to use a {{Holder}} there).
Nevertheless, there is still something strange happening when a {{OUT Holder}} is set to null.
{code}
@Stateless
@WebService(name = "MyEchoService", targetNamespace = "urn:echo")
public class MyEchoService {
@WebResult(name = "result")
public String echo(
@WebParam(name = "message") String message,
@WebParam(name = "paramOut", mode = Mode.OUT, header = true) Holder<String> paramOut) {
paramOut.value = null;
return "echo " + message;
}
}
{code}
That parameters appears in the body of the soap reponse instead of the header:
{code}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:echo">
<soapenv:Body>
<urn:echo>
<urn:message>hello world!</urn:message>
</urn:echo>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echoResponse xmlns="urn:echo">
<result>echo hello world!</result>
</echoResponse>
<paramOut xsi:nil="true" xmlns="urn:echo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</soap:Body>
</soap:Envelope>
{code}
> Incorrect behaviour with @WebParam(header = true, mode = IN)
> ------------------------------------------------------------
>
> Key: JBWS-3964
> URL: https://issues.jboss.org/browse/JBWS-3964
> Project: JBoss Web Services
> Issue Type: Bug
> Environment: Wildfly 9.0.2
> Reporter: Xavier Dury
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.2.0.Final
>
>
> Given the following simple WebService with incoming and outgoing header @WebParams:
> {code}
> @Stateless
> @WebService(name = "MyEchoService", targetNamespace = "urn:echo")
> public class MyEchoService {
>
> @WebResult(name = "result")
> public String echo(
> @WebParam(name = "message") String message,
> @WebParam(name = "paramIn", mode = Mode.IN, header = true) Holder<String> paramIn,
> @WebParam(name = "paramOut", mode = Mode.OUT, header = true) Holder<String> paramOut) {
> paramOut.value = "got paramIn " + paramIn.value;
> return "echo " + message;
> }
> }
> {code}
> The generated WSDL contains the following operation where the incoming @WebParam (mode = IN) is present in both input and ouput:
> {code}
> <wsdl:operation name="echo">
> <soap:operation soapAction="" style="document"/>
> <wsdl:input name="echo">
> <soap:header message="tns:echo" part="paramIn" use="literal"></soap:header>
> <soap:body parts="parameters" use="literal"/>
> </wsdl:input>
> <wsdl:output name="echoResponse">
> <soap:header message="tns:echoResponse" part="paramIn" use="literal"></soap:header>
> <soap:header message="tns:echoResponse" part="paramOut" use="literal"></soap:header>
> <soap:body parts="result" use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> {code}
> We can see in the following exchange that the incoming @WebParam will be copied verbatim in the response:
> {code}
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:echo">
> <soapenv:Header>
> <urn:paramIn>fred</urn:paramIn>
> </soapenv:Header>
> <soapenv:Body>
> <urn:echo>
> <urn:message>hello world!</urn:message>
> </urn:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header>
> <paramIn xmlns="urn:echo">fred</paramIn>
> <paramOut xmlns="urn:echo">got paramIn fred</paramOut>
> </soap:Header>
> <soap:Body>
> <echoResponse xmlns="urn:echo">
> <result>echo hello world!</result>
> </echoResponse>
> </soap:Body>
> </soap:Envelope>
> {code}
> When the incoming header @WebParam is not set, an empty element will be added to the body of the response:
> {code}
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:echo">
> <soapenv:Body>
> <urn:echo>
> <urn:message>hello world!</urn:message>
> </urn:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header>
> <paramOut xmlns="urn:echo">got paramIn null</paramOut>
> </soap:Header>
> <soap:Body>
> <echoResponse xmlns="urn:echo">
> <result>echo hello world!</result>
> </echoResponse>
> <paramIn xsi:nil="true" xmlns="urn:echo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
> </soap:Body>
> </soap:Envelope>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 2 months