Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

pbel
2011-10-22 00:54:09

I had the same requirement. Haven't tested it yet but I guess this way it should work:

Take a data source linke any db input what ever. Map it if necessary with tmap. Direct the output of the tmap into a flow to interate component.

Connect the flowToIterate component to your tWebServiceInput (even it sounds weird. yes, use the input component). Now in the parameter section you should be able to use the global variables generated by the flowToIterate component.

What happens is that the for every data record arriving at the flowToIterate component the tWebServiceInput method is called once with the parameters you want. If this webservice is one doing an insert or update then it will act like a tWebServiceOutput.

If anybody tests this please reply with your experience. Will hopefully be able to test it soon myself (planning to update some SugarCRM relations automatically)

andrea.feraco
2010-02-02 15:07:27

@charles
In the link you sent me there is the last section "Call the webservice from a job" where tWebServiceInput is used to get data from a web service and then passed over to a tLogRow.
Well, my need is to do the reverse, get data from a component and pass to a tWebService.

charles
2010-02-02 15:01:04

Thanks Mhirt for the prompt solution

@Andrea  http://www.talendforge.org/wiki/doku.ph … webservice

mhirt
2010-02-02 00:32:46

@Charles : Right click on your job -> Export job -> Choose Webservice in the available types.

@andrea, tWebServiceInput can be use to call any webservice, with or without parameters.

HTH,

charles
2010-02-01 20:19:12

Hi Andrea,

Actually the  "Data Integration Features Comparison Matrix" on the main website does  mention that TOS can Expose Job as a Web Service

http://www.talend.com/products-data-int … matrix.php

(check the "Deployment Facilities" section)

But this feature is not found in TOS

I too have a similar requirement, and am looking forward to it.

@TOS team : pls include this feature ;0

andrea.feraco
2010-01-28 17:36:39

Yes I know. But this component is not useful for me, I have to load data to an application which exposes a web service, so I need a component which accepts an inbound flow, a sort of tWebServiceOutput which is not available in my TOS environment. tWebServiceInput, as far as I understood, can be used just to get data from a web service to be passed to a subsequent step.

jkrfs
2010-01-28 16:59:11

Theres a tWebServiceInput in TOS

shong
2010-01-28 11:07:16

Hello Andrea
tWebService is only avaliable in Talend Integration Suite, not TOS.

Best regards

          shong

andrea.feraco
2010-01-28 10:08:01

Hi all,
Last Friday I attended the webinar "Open Source Data Integration with Talend Open Studio". During Q&A I asked the following question: is there in talend the possibility to load data to a target application in an interoperability scenario by invoking a web service?
I was shown how this is possible by means of the tWebService component.
After the webinar I wanted to implement a test scenario by myself but I found that my talend open studio (version 3.2.1) is missing the tWebService component, there is just a tWebServiceInput that seems not suitable for my needs, it can't accept incoming calls.

Can you please help me?

Thank you
Andrea

Board footer

Powered by FluxBB