You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/01/27 16:24:34 UTC
[jira] Assigned: (CXF-2629) WS-Addressing Action on response is not
being returned as specified in the WSDL
[ https://issues.apache.org/jira/browse/CXF-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-2629:
--------------------------------
Assignee: Daniel Kulp
> WS-Addressing Action on response is not being returned as specified in the WSDL
> -------------------------------------------------------------------------------
>
> Key: CXF-2629
> URL: https://issues.apache.org/jira/browse/CXF-2629
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.2.5
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
> Java version: 1.6.0
> OS name: "windows xp" version: "5.1 build 2600 service pack 3" arch: "x86" Family: "windows"
> Reporter: Rebecca Duhard
> Assignee: Daniel Kulp
> Attachments: MAPAction.patch
>
>
> When WS-Addressing is specified for a particular endpoint, and the operation defined in the WSDL has indicated a specific wsaw:Action on the output response (see below), CXF uses the soapAction value defined for the binding operation (see below).
> {code}
> <wsdl:portType name="IN620104CA_I">
> <wsdl:operation name="IN620104CA_I">
> <wsdl:input message="hl7:IN620104CA"
> wsaw:Action="IN620104CA.LE20090316" />
> <wsdl:output message="IN620104CA-Response"
> wsaw:Action="IN620104CA-Response.LE20090316" />
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:binding ... >
> ...
> <wsdl:operation name="IN620104CA_I">
> <soap:operation soapAction="IN620104CA.LE20090316" />
> ...
> </wsdl:operation>
> </wsdl:binding>
> {code}
> The soapAction value should be ignored for the response message and it should only look for an explicit value or create one according to the [WS-Addressing spec|http://www.w3.org/TR/ws-addr-wsdl/#defactionwsdl11] for default wsa:Action values.
> See [Nabble post|http://old.nabble.com/WSDL-wsaw%3AAction-vs-soapAction-in-MAPs-on-the-response-message-p26545030.html] for more on this discussion.
> The code which configures the outgoing wsa:Action value is in org.apache.cxf.ws.addressing.ContextUtils.getActionFromServiceModel(...).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.