[ 
https://issues.apache.org/jira/browse/CXF-7871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648467#comment-16648467
 ] 

ASF GitHub Bot commented on CXF-7871:
-------------------------------------

asoldano commented on issue #458: [CXF-7871] Adding RelatesTo WS-Addressing 
headers in the list returned by MAPCodec#getUnderstoodHeaders()
URL: https://github.com/apache/cxf/pull/458#issuecomment-429467845
 
 
   I've restarted the Jenkins run as the two tests that failed are actually 
passing here locally.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> WS-A RelatesTo headers missing in MAPCodec::getUnderstoodHeaders()
> ------------------------------------------------------------------
>
>                 Key: CXF-7871
>                 URL: https://issues.apache.org/jira/browse/CXF-7871
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>            Priority: Major
>             Fix For: 3.3.0, 3.2.7
>
>
> The getUnderstoodHeaders() methods of MAPCodec returns a static list of 
> headers that is created when loading 
> org.apache.cxf.ws.addressing.soap.VersionTransformer. Such list does not 
> include the RelatesTo headers.
> This issue is actually exposed by having recently applied the fix 
> [https://github.com/apache/cxf/commit/a63a36bc4e151ab9c555304fab383a4624191f51]
> An exception as below ends up being logged in case of required ws-addressing 
> and RelatesTo headers being used:
> {noformat}
> 2018-10-10 23:16:22,252 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] 
> (default-workqueue-1) Interceptor for 
> {http://schemas.arjuna.com/ws/2005/10/wsarjtx}TerminationParticipantService#{http://schemas.arjuna.com/ws/2005/10/wsarjtx}FaultOperation
>  has thrown exception, unwinding now: org.apache.cxf.binding.soap.SoapFault: 
> MustUnderstand headers: [{http://www.w3.org/2005/08/addressing}RelatesTo] are 
> not understood.
>         at 
> org.apache.cxf.impl//org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor$MustUnderstandEndingInterceptor.handleMessage(MustUnderstandInterceptor.java:282)
>         at 
> org.apache.cxf.impl//org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor$MustUnderstandEndingInterceptor.handleMessage(MustUnderstandInterceptor.java:259)
>         at 
> org.apache.cxf@3.2.6//org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
>         at 
> org.apache.cxf@3.2.6//org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278)
>         at 
> org.apache.cxf.impl//org.apache.cxf.ws.addressing.impl.InternalContextUtils$1.run(InternalContextUtils.java:319)
>         at 
> org.apache.cxf@3.2.6//org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:421)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at 
> org.apache.cxf@3.2.6//org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:346)
>         at java.base/java.lang.Thread.run(Thread.java:834){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to