You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by "Schneiders, Bernd" <be...@logica.com> on 2008/07/15 17:28:45 UTC

ODE and HTTP GET operation

Hi all,

I'm new in ODE and I want to figure out if ODE is applicable to us.

Is it possible for ODE to invoke a normal HTTP GET or POST operation?
If not, is it possible to use WSDL 2.0 HTTP binding to do that?
If so, do we need schemas for XML requests and responses?

Many thanks,
Bernd


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



Re: ODE and HTTP GET operation

Posted by Assaf Arkin <ar...@intalio.com>.
On Wed, Jul 16, 2008 at 5:28 PM, Alexis Midon <mi...@intalio.com> wrote:

> it's already mentioned at the end of the URL Template section. but I'll
> make
> it more explicit.


That's where the REST part comes in.  The server is sending you just enough
information (in HTML that would be a form) to compose the next request
(resource, method and body).  We still don't let you respond to the method
part, but resource part is possible using these XPath functions.

Assaf


>
>
> On Wed, Jul 16, 2008 at 5:08 PM, Alex Boisvert <bo...@intalio.com>
> wrote:
>
> > Hi Alexis,
> >
> > Neat stuff!
> >
> > It might also be worth linking to the available XPath extensions for
> cases
> > where a process would need to dynamically compose URLs?
> >
> > alex
> >
> >
> > On Wed, Jul 16, 2008 at 4:51 PM, Alexis Midon <mi...@intalio.com> wrote:
> >
> > > Hi all,
> > >
> > > here are two pages documenting HTTP Binding in ODE.
> > > ODE web site will get updated in the next 24h. Meanwhile here are the
> > > direct
> > > links.
> > >
> > > Proofreading more than welcome.
> > >
> > >
> > >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+HTTP+Binding+Support
> > >
> > >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+Extensions+for+REST
> > >
> > > On Tue, Jul 15, 2008 at 9:49 AM, Alex Boisvert <bo...@intalio.com>
> > > wrote:
> > >
> > > > On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <boisvert@intalio.com
> >
> > > > wrote:
> > > >
> > > > > Since BPEL uses WSDL 1.1 so we had to make a few extensions to the
> > HTTP
> > > > > binding support common REST idioms.    This being said, we fully
> > > support
> > > > > WSDL 1.1 HTTP binding if you want to remain standards-compliant and
> > > your
> > > > > use-cases fall under what's covered by the spec.
> > > > >
> > > >
> > > > In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
> > > > extensions to the HTTP binding to support common REST idioms.
> > > >
> > > > alex
> > > >
> > >
> >
>

Re: ODE and HTTP GET operation

Posted by Alex Boisvert <bo...@intalio.com>.
aaaaahh, right.  i was looking for the BPEL fragment that calls an XPath
function and assigns the resulting URL into the partnerLink :)


On Wed, Jul 16, 2008 at 5:28 PM, Alexis Midon <mi...@intalio.com> wrote:

> it's already mentioned at the end of the URL Template section. but I'll
> make
> it more explicit.
>
> On Wed, Jul 16, 2008 at 5:08 PM, Alex Boisvert <bo...@intalio.com>
> wrote:
>
> > Hi Alexis,
> >
> > Neat stuff!
> >
> > It might also be worth linking to the available XPath extensions for
> cases
> > where a process would need to dynamically compose URLs?
> >
> > alex
> >
> >
> > On Wed, Jul 16, 2008 at 4:51 PM, Alexis Midon <mi...@intalio.com> wrote:
> >
> > > Hi all,
> > >
> > > here are two pages documenting HTTP Binding in ODE.
> > > ODE web site will get updated in the next 24h. Meanwhile here are the
> > > direct
> > > links.
> > >
> > > Proofreading more than welcome.
> > >
> > >
> > >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+HTTP+Binding+Support
> > >
> > >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+Extensions+for+REST
> > >
> > > On Tue, Jul 15, 2008 at 9:49 AM, Alex Boisvert <bo...@intalio.com>
> > > wrote:
> > >
> > > > On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <boisvert@intalio.com
> >
> > > > wrote:
> > > >
> > > > > Since BPEL uses WSDL 1.1 so we had to make a few extensions to the
> > HTTP
> > > > > binding support common REST idioms.    This being said, we fully
> > > support
> > > > > WSDL 1.1 HTTP binding if you want to remain standards-compliant and
> > > your
> > > > > use-cases fall under what's covered by the spec.
> > > > >
> > > >
> > > > In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
> > > > extensions to the HTTP binding to support common REST idioms.
> > > >
> > > > alex
> > > >
> > >
> >
>

Re: ODE and HTTP GET operation

Posted by Alexis Midon <mi...@intalio.com>.
it's already mentioned at the end of the URL Template section. but I'll make
it more explicit.

On Wed, Jul 16, 2008 at 5:08 PM, Alex Boisvert <bo...@intalio.com> wrote:

> Hi Alexis,
>
> Neat stuff!
>
> It might also be worth linking to the available XPath extensions for cases
> where a process would need to dynamically compose URLs?
>
> alex
>
>
> On Wed, Jul 16, 2008 at 4:51 PM, Alexis Midon <mi...@intalio.com> wrote:
>
> > Hi all,
> >
> > here are two pages documenting HTTP Binding in ODE.
> > ODE web site will get updated in the next 24h. Meanwhile here are the
> > direct
> > links.
> >
> > Proofreading more than welcome.
> >
> >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+HTTP+Binding+Support
> >
> >
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+Extensions+for+REST
> >
> > On Tue, Jul 15, 2008 at 9:49 AM, Alex Boisvert <bo...@intalio.com>
> > wrote:
> >
> > > On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <bo...@intalio.com>
> > > wrote:
> > >
> > > > Since BPEL uses WSDL 1.1 so we had to make a few extensions to the
> HTTP
> > > > binding support common REST idioms.    This being said, we fully
> > support
> > > > WSDL 1.1 HTTP binding if you want to remain standards-compliant and
> > your
> > > > use-cases fall under what's covered by the spec.
> > > >
> > >
> > > In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
> > > extensions to the HTTP binding to support common REST idioms.
> > >
> > > alex
> > >
> >
>

Re: ODE and HTTP GET operation

Posted by Alex Boisvert <bo...@intalio.com>.
Hi Alexis,

Neat stuff!

It might also be worth linking to the available XPath extensions for cases
where a process would need to dynamically compose URLs?

alex


On Wed, Jul 16, 2008 at 4:51 PM, Alexis Midon <mi...@intalio.com> wrote:

> Hi all,
>
> here are two pages documenting HTTP Binding in ODE.
> ODE web site will get updated in the next 24h. Meanwhile here are the
> direct
> links.
>
> Proofreading more than welcome.
>
>
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+HTTP+Binding+Support
>
> http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+Extensions+for+REST
>
> On Tue, Jul 15, 2008 at 9:49 AM, Alex Boisvert <bo...@intalio.com>
> wrote:
>
> > On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <bo...@intalio.com>
> > wrote:
> >
> > > Since BPEL uses WSDL 1.1 so we had to make a few extensions to the HTTP
> > > binding support common REST idioms.    This being said, we fully
> support
> > > WSDL 1.1 HTTP binding if you want to remain standards-compliant and
> your
> > > use-cases fall under what's covered by the spec.
> > >
> >
> > In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
> > extensions to the HTTP binding to support common REST idioms.
> >
> > alex
> >
>

Re: ODE and HTTP GET operation

Posted by Alexis Midon <mi...@intalio.com>.
Hi all,

here are two pages documenting HTTP Binding in ODE.
ODE web site will get updated in the next 24h. Meanwhile here are the direct
links.

Proofreading more than welcome.

http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+HTTP+Binding+Support
http://cwiki.apache.org/confluence/display/ODExSITE/WSDL+1.1+Extensions+for+REST

On Tue, Jul 15, 2008 at 9:49 AM, Alex Boisvert <bo...@intalio.com> wrote:

> On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <bo...@intalio.com>
> wrote:
>
> > Since BPEL uses WSDL 1.1 so we had to make a few extensions to the HTTP
> > binding support common REST idioms.    This being said, we fully support
> > WSDL 1.1 HTTP binding if you want to remain standards-compliant and your
> > use-cases fall under what's covered by the spec.
> >
>
> In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
> extensions to the HTTP binding to support common REST idioms.
>
> alex
>

Re: ODE and HTTP GET operation

Posted by Alex Boisvert <bo...@intalio.com>.
On Tue, Jul 15, 2008 at 9:47 AM, Alex Boisvert <bo...@intalio.com> wrote:

> Since BPEL uses WSDL 1.1 so we had to make a few extensions to the HTTP
> binding support common REST idioms.    This being said, we fully support
> WSDL 1.1 HTTP binding if you want to remain standards-compliant and your
> use-cases fall under what's covered by the spec.
>

In English this time:   Since BPEL uses WSDL 1.1 we had to make a few
extensions to the HTTP binding to support common REST idioms.

alex

Re: ODE and HTTP GET operation

Posted by Alex Boisvert <bo...@intalio.com>.
On Tue, Jul 15, 2008 at 8:28 AM, Schneiders, Bernd <
bernd.schneiders@logica.com> wrote:

> I'm new in ODE and I want to figure out if ODE is applicable to us.
>
> Is it possible for ODE to invoke a normal HTTP GET or POST operation?
> If not, is it possible to use WSDL 2.0 HTTP binding to do that?
> If so, do we need schemas for XML requests and responses?


Yes, Alexis Midon has been very busy adding REST support to the Axis2 IL.
Ode now supports GET, PUT, POST, DELETE operations.

Since BPEL uses WSDL 1.1 so we had to make a few extensions to the HTTP
binding support common REST idioms.    This being said, we fully support
WSDL 1.1 HTTP binding if you want to remain standards-compliant and your
use-cases fall under what's covered by the spec.

There's no documentation on the web site yet but you can get a good idea of
the work that's been done by reviewing the related Jira enhancements,
starting from http://issues.apache.org/jira/browse/ODE-282

This is still a work-in-progress and there's been improvements and fixes
since Ode 1.2 was released, so you'll probably want to track the 1.X stable
branch.

cheers,
alex