[
https://issues.apache.org/jira/browse/TUSCANY-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luciano Resende resolved TUSCANY-4065.
--------------------------------------
Resolution: Fixed
Fixed by properly retrieving binding context within the response handlers
> binding-rest-runtime - RestServlet is returning the wrong http-headers when
> multiple REST services exposed
> ----------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-4065
> URL: https://issues.apache.org/jira/browse/TUSCANY-4065
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Misc Binding Extensions
> Affects Versions: Java-SCA-2.0-Beta3
> Reporter: Glen Conboy
> Attachments: customer.composite
>
>
> I have several components exposing services using binding.rest. For the
> binding I am setting various http-headers in the composite. Some of the
> services are returning the wrong headers though.
> I have replicated this in the binding-rest-runtime test code by adding an
> extra dummy service in the customer.composite configured with different
> http-headers to the existing service. This causes testGetInvocation to fail
> when it should have no impact.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira