Hey Tom! There is currently no clean support for RESTful services, but there is an experimental support for the WSDL2 HTTP Binding in servicemix-http. It should be available by deploying an endpoint like: <http:soap-consumer wsdl="service.wsdl2" /> with the wsdl being a WSDL2 with an HTTP binding. Here is an example of such a wsdl: http://svn.apache.org/repos/asf/servicemix/smx3/trunk/common/servicemix-soap2/src/test/resources/org/apache/servicemix/soap/Person.wsdl2
The http BC will produce an xml document compliant with the WSDL from the HTTP request. On Thu, Mar 6, 2008 at 4:06 PM, Tom Purcell <[EMAIL PROTECTED]> wrote: > > Hello > > I have a messages that can come in over any one of several protocols. When I > get the message I need to call a RESTful service hosted on a Tomcat server. > I essentially have my simplest case working using the servicemix-http > component. Its a static URI with no variable fields in it. My problem is I > cannot figure out how to handle variables. > > For instance, the RESTful service has the following URI: > http://somehost:8080/foo/1234 > > The service will return the "foo" that has the id of "1234". > > The xbean configuration of servicemix-http allows me to code a static URI > but how do I call a RESTful service the URI for which contains dynamic > elements? > > Thanks > Tom > > -- > View this message in context: > http://www.nabble.com/Call-a-RESTful-service-from-ServiceMix-tp15873186s12049p15873186.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
