Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How do I extract data from a WSDL?

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

Labels (5)
1 Reply
Anonymous
Not applicable
Author

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