You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2010/03/05 06:31:27 UTC

[jira] Updated: (TUSCANY-3484) Tuscany does not set "Action" header for WS-Addressing

     [ https://issues.apache.org/jira/browse/TUSCANY-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende updated TUSCANY-3484:
-------------------------------------

    Attachment: tuscany-binding-ws-axis2-1.6.jar

Could you give it a try and see if this makes things better on your environment.

> Tuscany does not set "Action" header for WS-Addressing
> ------------------------------------------------------
>
>                 Key: TUSCANY-3484
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3484
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.6
>            Reporter: Mitchell Ratisher
>             Fix For: Java-SCA-1.6
>
>         Attachments: tuscany-binding-ws-axis2-1.6.jar
>
>
> Tuscany should be setting the wsa:Action tag in the SOAP header when using WS-Addressing.  I believe this would take place in class org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker, probably by referencing  org.apache.axis2.addressing.AddressingConstants.WSA_ACTION.  Below is an example (based on the Tuscany Tours sample app) that includes the missing wsa:Action tag:
> {noformat}
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Address>http://mitch-linux.corp.shutterfly.com:8084/Hotel/SearchCallback</wsa:Address><wsa:ReferenceParameters><tuscany:CallbackID xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0">HotelSearchCallbackID-f8def3a6-9814-4a83-9aad-68aaa4bae3f6</tuscany:CallbackID><tuscany:ConversationID xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0">1108b941-f4f9-4122-b1cc-0b808fd2bf6a</tuscany:ConversationID></wsa:ReferenceParameters></wsa:From>
> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://common.tuscanytours.com/Search/searchAsyncRequest</wsa:Action>
> </soapenv:Header><soapenv:Body><_ns_:searchAsynch xmlns:_ns_="http://common.tuscanyscatours.com/"><arg0 xmlns:ns2="http://common.tuscanyscatours.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="tripLeg"><fromDate>06/12/09</fromDate><fromLocation>LGW</fromLocation><id>f8def3a6-9814-4a83-9aad-68aaa4bae3f6</id><noOfPeople>2</noOfPeople><toDate>13/12/09</toDate><toLocation>FLR</toLocation></arg0></_ns_:searchAsynch></soapenv:Body></soapenv:Envelope>
> {noformat}
> An example of an interoperability problem caused by this ommission is that WSO2 ESB cannot proxy between Tuscany instances, because Axis requires the wsa:Action tag if WS-Addressing is used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.