[ https://issues.apache.org/jira/browse/CXF-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085111#comment-15085111 ]
ASF GitHub Bot commented on CXF-6732: ------------------------------------- GitHub user igarashitm opened a pull request: https://github.com/apache/cxf/pull/104 CXF-6732 Allow SOAPAction to be overwritten via RequestContext property You can merge this pull request into a Git repository by running: $ git pull https://github.com/igarashitm/cxf CXF-6732 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cxf/pull/104.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #104 ---- commit b874e11bf2a73eb39346a22d45b8b9ca38cbf208 Author: Tomohisa Igarashi <tm.igara...@gmail.com> Date: 2016-01-06T07:19:41Z CXF-6732 Allow SOAPAction to be overwritten via RequestContext property ---- > Allow SOAPAction to be overwritten via RequestContext property > -------------------------------------------------------------- > > Key: CXF-6732 > URL: https://issues.apache.org/jira/browse/CXF-6732 > Project: CXF > Issue Type: Improvement > Affects Versions: 2.7.18, 3.2.0 > Reporter: Tomohisa Igarashi > > SoapPreProtocolOutInterceptor sets SOAPAction into PROTOCOL_HEADERS only when > it's not yet set here: > https://fisheye6.atlassian.com/browse/cxf/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java?hb=true#to121 > If user reuses the client like Dispatch instance, the PROTOCOL_HEADERS is > carried over multiple invocations including SOAPAction specified for the > first invocation, thus the "javax.xml.ws.soap.http.soapaction.uri" property > is ignored afterward. IMO the "javax.xml.ws.soap.http.soapaction.uri" > standard property should precede existing SOAPAction in PROTOCOL_HEADERS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)