Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
Can anyone please assist. I need to extract data from a WSDL webservice and publish the data to tlog.
I have the following input XML:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:inc="http://www.service-now.com/incident" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <inc:getRecords> <!--Optional:--> <__encoded_query>active=true</__encoded_query> <!--Optional:--> <__limit>10</__limit> <!--Optional:--> <__first_row/> <!--Optional:--> <__last_row/> <!--Optional:--> <__order_by/> <!--Optional:--> <__order_by_desc/> <!--Optional:--> <__exclude_columns/> </inc:getRecords> </soapenv:Body> </soapenv:Envelope>
I tried using the tWebServiceInput, but cannot see where I can define my input variables
Thanks
Hi germatrix,
I will try to assist you, i think the tWebServiceInput is the good component.
In Advanced Setting of this component you have a check box : Use Advanced (or somethink like that) . Check it !
Then Talend will generate some code routine. You have some exemple code in the Java part Code of you tWebServiceInput.
Then you have to do something like that :
GetRecords gr = new GetRecords();
gr.setEncodedQuery(true);
gr.setLimit(10);
etc ...
Hope this help,
Good luck ,
SGV