[
https://issues.apache.org/jira/browse/CXF-8762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Avinash Dongre updated CXF-8762:
--------------------------------
Description:
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]
was:
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]
> 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)
