I want to create and deploy webservice who will be giving me a response from another external webservice. I'm using weather WSDL and create service, next step will be to create definition of this service in job. How this definition should look ??
T_esb_provider_request (xml request) ----> ????? ( between this I need to communicate with external service that will get input and give output) -----> T_esb_provider_response ( xml response)
Can someone help me to resolve this problem ??
Many Thanks
Lukasz
Hi
In Talend, you can use a tWebservice, tWebserviceInput or tSOAP to call a Soap web service, let's assuming you want to call the weather web service for example, the job design looks like:
tESBProviderRequest--main--tFlowToIterate--tFixedFlowInput--main--tWebService--main--tXMLMap--tESBProviderResponse
on tFixedFlowInput, define the input data for used later as the request parameter on twebservice
on tXMLMap, map the response data of twebservice to a Document for tESBProviderResponse
Shong
Many thanks Shong for help, I created my first web service and everything is working fine, to update this topic I attach a screen shoot of my service job.
As you see In request I'm asking for 4 arguments but ITEMS argument is a type="tns2:ItemsRequest" so it's class of arguments. How to call that kind of class and use parameters to propagate values??
Many thanks