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

Radovan Netuka commented on CXF-8762:
-------------------------------------

[~avi5kdonrh] Thanks for the guidance. Since Camel uses the header value 
unquoted, it would be best to apply the quotes as late as possible to avoid any 
string comparison issues. Your suggested solution looks good. What do you think 
[~reta] 

> CXF client sends the SOAPAction header without quotes
> -----------------------------------------------------
>
>                 Key: CXF-8762
>                 URL: https://issues.apache.org/jira/browse/CXF-8762
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Avinash Dongre
>            Priority: Major
>         Attachments: proposed_fix.patch
>
>
> A Camel CXF client that works similarly to 
> [this|https://github.com/avi5kdonrh/cxf/blob/a7e8f9aa48656b1b7cc6458edb3bb60da7439d96/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SOAPActionWithoutQuotesTest.java#L39-L43]
>  test case,  doesn't send the SOAPAction header in double quotes which breaks 
> [this|http://www.ws-i.org/Profiles/BasicProfile-1.1.html#SOAPAction_HTTP_Header]
>  specification.
> The said [test 
> case|https://github.com/avi5kdonrh/cxf/blob/cxf-soap-action/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SOAPActionWithoutQuotesTest.java]
>  fails:
> org.junit.ComparisonFailure: 
> Expected :"http://foo/bar/SEI/opReq";
> Actual   :[http://foo/bar/SEI/opReq]
> It seems to be caused by this change:
> [https://github.com/apache/cxf/pull/307/files]
> Proposed fix.
> [https://github.com/apache/cxf/commit/66835e3db93ffa1cf7ab1df51ccd8c99fe6b1785?diff=split]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to