You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/06/12 23:46:45 UTC

[jira] Commented: (ODE-283) HTTP Verb at he operation level

    [ https://issues.apache.org/jira/browse/ODE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604656#action_12604656 ] 

Alexis Midon commented on ODE-283:
----------------------------------

To avoid confusion, the binding element in an operation tag has to not be in the http-binding namespace.
Ode-extension name will be used. (http://www.apache.org/ode/type/extension)

So code listing in first comment becomes:

  <wsdl:binding name="DummyServiceHttpBinding" type="ns1:DummyServicePortType">
        <wsdl:operation name="retrieve">
            <http:operation location="DummyService/hello"/>
            **<ode:binding verb="GET"/>**
            <wsdl:input> ... </wsdl:input>
            <wsdl:output> ... </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="create">
            <http:operation location="DummyService/hello"/>
            **<ode:binding verb="POST"/>**
            <wsdl:input> ... </wsdl:input>
            <wsdl:output> ... </wsdl:output>
        </wsdl:operation>
    </wsdl:binding> 

> HTTP Verb at he operation level
> -------------------------------
>
>                 Key: ODE-283
>                 URL: https://issues.apache.org/jira/browse/ODE-283
>             Project: ODE
>          Issue Type: New Feature
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-283_#1_verb_per_operation.patch
>
>
> The HTTP binding as described in the wsdl spec defines a single HTTP verb (get, post, etc) for one portType.
> However RESTful BPEL requires that the verb may be set at the operation level.
> For instance the binding definition bellow must be supported by ODE.
>     <wsdl:binding name="DummyServiceHttpBinding" type="ns1:DummyServicePortType">
>         <wsdl:operation name="retrieve">
>             <http:operation location="DummyService/hello"/>
>             <http:binding verb="GET"/>
>             <wsdl:input> ... </wsdl:input>
>             <wsdl:output> ...  </wsdl:output>
>         </wsdl:operation>
>         <wsdl:operation name="create">
>             <http:operation location="DummyService/hello"/>
>             <http:binding verb="POST"/>
>             <wsdl:input> ... </wsdl:input>
>             <wsdl:output> ...  </wsdl:output>
>         </wsdl:operation>
>     </wsdl:binding>

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