AXIS Webservice - How to export RESTful Webservice from TOS

One Star

AXIS Webservice - How to export RESTful Webservice from TOS

Hi
I have written a job which I want to export as REST (i.e. not SOAP) based Webservice. How to do this in TALEND as TALEND generates SOAP based Webservices?
I looked in the documentation ( http://ws.apache.org/axis2/0_94/rest-ws.html ) from Apache axis and there is a way to enable RESTful Webservice - It can be enabled in the Server/Client side by adding the following line to the axis2.xml file.
< parameter name="enableREST" locked="false" > true </parameter>
However when I looked at the generated code from TALEND WAR file, I could not find any axis2.xml ?
Can you please tell me how to export or enable RESTful Webservice by using TOS ?
I appreciate your help.
Thanks
Z
One Star

Re: AXIS Webservice - How to export RESTful Webservice from TOS

Hello,
First, Talend use Axis1, so don't look for Axis2 feature.
But, if that's what u need, Talend webservices are already callable via just HTTP GET :
http://localhost:8080/hello_0.1/services/hello?method=runJob&arg1=--context_param%20lastname=legall&arg2=--context_param%20nb_line=2
see http://www.talendforge.org/forum/viewtopic.php?id=7423
I doubt u can call, a talend job exported as webservice, a Restfull webservice.
Because there is no concept of ressource, states and u can't transition between thoses states with HTTP calls (GET, POST, PUT & DELETE).
One Star

Re: AXIS Webservice - How to export RESTful Webservice from TOS

Hi
Does TALEND team plans to implement RESTfull Webservice implementation in future ?
We already have a reference implementation of RESTfull Webservices using Jersey (https://jersey.dev.java.net ). Similar to Apache axis, TALEND can provide an option to export jobs as Restfull Webservices which are more scalable and efficient than axis2 (SOAP) webservices.
Adding this feature will certainly add more value to TALEND and will increase it's Web 2.0 adaptability in enterprise applications.
Thanks
Z
Community Manager

Re: AXIS Webservice - How to export RESTful Webservice from TOS

Hello zguptn
Thanks for your infomation, can you report a new feature on our bugtracker?
Thanks again!!
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: AXIS Webservice - How to export RESTful Webservice from TOS

I have submitted the feature request to TALEND Team at: http://www.talendforge.org/bugs/view.php?id=9673
Thanks
Z