ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <j...@apache.org>
Subject [jira] Created: (ODE-309) HTTP Headers in HTTP-binding
Date Thu, 19 Jun 2008 18:51:45 GMT
HTTP Headers in HTTP-binding
----------------------------

                 Key: ODE-309
                 URL: https://issues.apache.org/jira/browse/ODE-309
             Project: ODE
          Issue Type: Sub-task
            Reporter: Alexis Midon


REST services leverage the HTTP protocol. And HTTP headers are not left aside.
Wsdl HTTP binding does not even mention them, so we need an extension here.

We want to be able to set parts/values in the HTTP request headers, and the way around get
values fromn HTTP response headers.
Standard and custom HTTP headers should be supported.

All headers of the response will be copy into the ODE message.

<definition xmlns:odex="http://www.apache.org/ode/type/extension/http">

....

     <wsdl:operation name="doDELETE">
...
            <wsdl:input>
...
                <!-- a part mapped to a non-standard header -->
                <odex:header name="TimestampHeader" part="timestamp"/>

                <!-- a static value mapped to a standard header -->
                <odex:header name="User-agent" value="MyKillerApp"/>
            </wsdl:input>
            <wsdl:output/>
        </wsdl:operation>

</definitions>

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


Mime
View raw message