Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (5)
4 Replies
Anonymous
Not applicable
Author

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 https://community.talend.com/t5/Archive/Find-userfriendly-solution-to-launch-enter-parameters-in/td-...
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).
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hello zguptn
Thanks for your infomation, can you report a new feature on our bugtracker?
Thanks again!!
Best regards
shong
Anonymous
Not applicable
Author

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