Expose talend Webservice

Hi,
I have a requirement to expose the talend webservice to other systems so that they can invoke the web service URL and send the request in xmls format, and we need to perform the schema check and provide them the response. Could someone able to advise how we can achieve this using Talend Enterprise Data Management Tool
7 REPLIES
Moderator

Re: Expose talend Webservice

Hi,
You can use "Build job" feature to deploy and execute a Job on any server, independent of Talend Studio.
Please refer to document about:TalendHelpCenter:How to build Jobs
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: Expose talend Webservice

Thank You, can I able to achieve this with the help of Data Management tool (enterprise version). 
Moderator

Re: Expose talend Webservice

Hi,
This feature will available in both talend open source and subscription version.
You can achieve it on your Talend Data Management product.
Here is the link for Talend Data Management product:https://help.talend.com/search/all?query=How+to+build+Jobs&content-lang=en
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: Expose talend Webservice

Does this not require any dataservices license in the original license. ?

Re: Expose talend Webservice

I tried the same but getting the below when I am trying to invoke the war from the browser
This XML file does not appear to have any style information associated with it. The document tree is shown below.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1Smiley Frustratederver.NoService</faultcode>
<faultstring>
The AXIS engine could not find a target service to invoke! targetService is Test_Ram_Sample_0.1
</faultstring>
<detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">127.0.0.1</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>

</soapenv:Envelope

Re: Expose talend Webservice

Changed the URL 
from - http://*.*.*.*:8080/Test_Ram_Sample_0.1/services/Test_Ram_Sample_0.1?method=runJob
To - http://*.*.*.*:8080/Test_Ram_Sample_0.1/services/Test_Ram_Sample?method=runJob
and getting the below in the browser. But I am getting 1 in the ns1:item, which tell that there is an error, but I am not able to see where the error is.. Could you please help

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<runJobReturn xmlns="http://talend.org" xmlns:ns1="http://talend.org" xsi:type="ns1:runJobReturn">
<ns1:item xsi:type="ns1:ArrayOf_xsd_string">
<ns1:item xsi:type="xsd:string">1</ns1:item>
</ns1:item>
</runJobReturn>
</soapenv:Body>

</soapenv:Envelope>

Re: Expose talend Webservice

Hi Sabrina,
Can i get an example where I can expose the service (operation - addCustomer)  to other system and they will invoke this URL and pass the request in a xml and my service should be able to write in  a file. Please provide some inputs.