[
https://issues.apache.org/jira/browse/CXF-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932008#action_12932008
]
Freeman Fang commented on CXF-3122:
-----------------------------------
Here is the stacktrace two place call JaxwsClientCallback.handleException()
one this
at
org.apache.cxf.systest.dispatch.DispatchClientServerWithMalformedResponseTest$TestSOAPMessageHandler.handleResponse(DispatchClientServerWithMalformedResponseTest.java:146)
at
org.apache.cxf.jaxws.JaxwsClientCallback.handleException(JaxwsClientCallback.java:85)
at
org.apache.cxf.interceptor.ClientOutFaultObserver.onMessage(ClientOutFaultObserver.java:55)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:294)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:733)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2378)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:2253)
at
org.apache.cxf.workqueue.AutomaticWorkQueueImpl$2.run(AutomaticWorkQueueImpl.java:253)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
the other is
at
org.apache.cxf.systest.dispatch.DispatchClientServerWithMalformedResponseTest$TestSOAPMessageHandler.handleResponse(DispatchClientServerWithMalformedResponseTest.java:146)
at
org.apache.cxf.jaxws.JaxwsClientCallback.handleException(JaxwsClientCallback.java:85)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:754)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2378)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:2253)
at
org.apache.cxf.workqueue.AutomaticWorkQueueImpl$2.run(AutomaticWorkQueueImpl.java:253)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
we should get rid of the duplicated invocation for
JaxwsClientCallback.handleException() by adding check that
ClientOutFaultObserver.onMessage() should only take care of the fault for
Outbound message
> Async Handler for dispatch client is called twice in case of bad response
> message
> ---------------------------------------------------------------------------------
>
> Key: CXF-3122
> URL: https://issues.apache.org/jira/browse/CXF-3122
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.3.0, 2.2.11
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 2.2.12, 2.3.1, 2.4
>
> Attachments: testcase-to-expose-problem.patch
>
>
> for example the response is missing end tags
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.