
Anonymous
Not applicable
2009-10-15
02:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
321 Views
4 Replies

Anonymous
Not applicable
2009-10-15
07:16 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
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).
321 Views

Anonymous
Not applicable
2009-10-15
03:50 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
321 Views

Anonymous
Not applicable
2009-10-16
04:39 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello zguptn
Thanks for your infomation, can you report a new feature on our bugtracker?
Thanks again!!
Best regards
shong
Thanks for your infomation, can you report a new feature on our bugtracker?
Thanks again!!
Best regards
shong
321 Views

Anonymous
Not applicable
2009-10-17
12:24 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have submitted the feature request to TALEND Team at: http://www.talendforge.org/bugs/view.php?id=9673
Thanks
Z
Thanks
Z
321 Views
