[
https://issues.apache.org/activemq/browse/SMXCOMP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57173#action_57173
]
Jean-Baptiste Onofré commented on SMXCOMP-700:
----------------------------------------------
In servicemix-cxf-bc, using CXF 2.2.6, I got an unit test error on
org.apache.servicemix.cxfbc.ws.addressing.CxfBcAddressingTest:
-------------------------------------------------------------------------------
Test set: org.apache.servicemix.cxfbc.ws.addressing.CxfBcAddressingTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 93.312 sec <<<
FAILURE!
testExplicitMAPs(org.apache.servicemix.cxfbc.ws.addressing.CxfBcAddressingTest)
Time elapsed: 13.685 sec <<< ERROR!
javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element
{http://apache.org/hello_world_soap_http/types}greetMeSometimeResponse found.
Expected {http://apache.org/hello_world_soap_http/types}greetMeResponse.
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
at $Proxy56.greetMe(Unknown Source)
at
org.apache.servicemix.cxfbc.ws.addressing.CxfBcAddressingTest.testExplicitMAPs(CxfBcAddressingTest.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
Caused by: org.apache.cxf.interceptor.Fault: Unexpected wrapper element
{http://apache.org/hello_world_soap_http/types}greetMeSometimeResponse found.
Expected {http://apache.org/hello_world_soap_http/types}greetMeResponse.
at
org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:103)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)
at
org.apache.cxf.transport.http.HTTPConduit$InterposedMessageObserver.onMessage(HTTPConduit.java:2252)
at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:312)
at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:276)
at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:320)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Working on it.
> Upgrade to CXF 2.1.9/2.2.6
> --------------------------
>
> Key: SMXCOMP-700
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-700
> Project: ServiceMix Components
> Issue Type: Improvement
> Components: servicemix-cxf-bc, servicemix-cxf-se
> Affects Versions: servicemix-cxf-bc-2010.01, servicemix-cxf-se-2010.01
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: servicemix-cxf-bc-2010.01, servicemix-cxf-se-2010.01
>
>
> As CXF 2.1.9 and 2.2.6 release vote has started, as soon as it's released, we
> can upgrade CXF based component (CXF-SE/CXF-BC).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.