<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Webservice integration in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234359#M23747</link>
    <description>Hi all, 
&lt;BR /&gt;I feel like I am doing something wrong with my integration of web services. 
&lt;BR /&gt;I want to pass data to the services parameters (inputs?) and send the results (outputs?) to another component. To start off with that can just be a tlogrow. 
&lt;BR /&gt;Even using a tWebServiceInput will be fine if I can figure out how to send the necessary and desired parameters and skip the optional ones that I don't want to use. 
&lt;BR /&gt;In SOAP UI my request looks something like this: 
&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:ICGetProductList&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:connectString&amp;gt;AppServer://myserver:1234/someplace&amp;lt;/nxt:connectString&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:userCode&amp;gt;Cono=1000|Oper=sys&amp;lt;/nxt:userCode&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;assword&amp;gt;sys&amp;lt;/nxt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;assword&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:requestObject&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:includeInactiveProducts&amp;gt;1&amp;lt;/nxt:includeInactiveProducts&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:recordLimit&amp;gt;0&amp;lt;/nxt:recordLimit&amp;gt; 
&lt;BR /&gt; &amp;lt;/nxt:requestObject&amp;gt; 
&lt;BR /&gt; &amp;lt;/nxt:ICGetProductList&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Body&amp;gt; 
&lt;BR /&gt;And it works fine against the web service. (i.e. it gives me an array of products) 
&lt;BR /&gt;e.g. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;&amp;lt;arrayProduct&amp;gt; 
&lt;BR /&gt; &amp;lt;ICGetProductList.output.Product&amp;gt; 
&lt;BR /&gt; &amp;lt;productCode&amp;gt;1-000&amp;lt;/productCode&amp;gt; 
&lt;BR /&gt; &amp;lt;description1&amp;gt;Tools - Cutting &amp;amp; Mach&amp;lt;/description1&amp;gt; 
&lt;BR /&gt; &amp;lt;description2/&amp;gt; 
&lt;BR /&gt; &amp;lt;productCategory&amp;gt;pc1&amp;lt;/productCategory&amp;gt; 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. more products... 
&lt;BR /&gt; &amp;lt;/arrayProduct&amp;gt; 
&lt;BR /&gt;I think that this should be a fairly simple setup and it should be easy to implement but it isn't working. Does any one know of a good resource to learn about basic Talend webservice usage?</description>
    <pubDate>Wed, 21 Nov 2012 21:12:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-21T21:12:32Z</dc:date>
    <item>
      <title>Webservice integration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234359#M23747</link>
      <description>Hi all, 
&lt;BR /&gt;I feel like I am doing something wrong with my integration of web services. 
&lt;BR /&gt;I want to pass data to the services parameters (inputs?) and send the results (outputs?) to another component. To start off with that can just be a tlogrow. 
&lt;BR /&gt;Even using a tWebServiceInput will be fine if I can figure out how to send the necessary and desired parameters and skip the optional ones that I don't want to use. 
&lt;BR /&gt;In SOAP UI my request looks something like this: 
&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:ICGetProductList&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:connectString&amp;gt;AppServer://myserver:1234/someplace&amp;lt;/nxt:connectString&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:userCode&amp;gt;Cono=1000|Oper=sys&amp;lt;/nxt:userCode&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;assword&amp;gt;sys&amp;lt;/nxt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;assword&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:requestObject&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:includeInactiveProducts&amp;gt;1&amp;lt;/nxt:includeInactiveProducts&amp;gt; 
&lt;BR /&gt; &amp;lt;nxt:recordLimit&amp;gt;0&amp;lt;/nxt:recordLimit&amp;gt; 
&lt;BR /&gt; &amp;lt;/nxt:requestObject&amp;gt; 
&lt;BR /&gt; &amp;lt;/nxt:ICGetProductList&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Body&amp;gt; 
&lt;BR /&gt;And it works fine against the web service. (i.e. it gives me an array of products) 
&lt;BR /&gt;e.g. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;&amp;lt;arrayProduct&amp;gt; 
&lt;BR /&gt; &amp;lt;ICGetProductList.output.Product&amp;gt; 
&lt;BR /&gt; &amp;lt;productCode&amp;gt;1-000&amp;lt;/productCode&amp;gt; 
&lt;BR /&gt; &amp;lt;description1&amp;gt;Tools - Cutting &amp;amp; Mach&amp;lt;/description1&amp;gt; 
&lt;BR /&gt; &amp;lt;description2/&amp;gt; 
&lt;BR /&gt; &amp;lt;productCategory&amp;gt;pc1&amp;lt;/productCategory&amp;gt; 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. more products... 
&lt;BR /&gt; &amp;lt;/arrayProduct&amp;gt; 
&lt;BR /&gt;I think that this should be a fairly simple setup and it should be easy to implement but it isn't working. Does any one know of a good resource to learn about basic Talend webservice usage?</description>
      <pubDate>Wed, 21 Nov 2012 21:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234359#M23747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-21T21:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice integration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234360#M23748</link>
      <description>I tried a simpler example with a little better success. I hit a weather service WSDL ( 
&lt;A href="http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl" rel="nofollow noopener noreferrer"&gt;http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl&lt;/A&gt;) and used a tRowGenerator to feed it random zip codes. The responses are then going to a MySQL db. 
&lt;BR /&gt;The challenge I have is when I make a request and I get multiple results. So in this case, I pass a zip code and it gives back one record with the temperature etc for that city. In the scenario described above, I pass username and password and a few other parameters and it give me back an array of products. I want to take take that array and send it to another component. I think that the problem is with how my output schema is constructed. 
&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Thu, 22 Nov 2012 20:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234360#M23748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-22T20:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice integration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234361#M23749</link>
      <description>Still looking for help on this topic. 
&lt;BR /&gt;I'm trying a different web service and I'm trying to do something that should be pretty simple. I am connecting to a PIM Core SOAP service and I am just trying to get a list of objects by class. (getObjectList method). It looks like the call is working but the output is giving me problems. 
&lt;BR /&gt;The output I see in SOAP UI is as follows: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://pimdev.optimumstores.com:8000/webservice/soap/endpoint/apikey/bab577b5ca12dc689a10a9a35e90d44b/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;BR /&gt;   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;BR /&gt;      &amp;lt;ns1:getObjectListResponse&amp;gt;&lt;BR /&gt;         &amp;lt;return SOAP-ENC:arrayType="ns1:Object_List_Item" xsi:type="ns1:ArrayOfObject_List_Item"&amp;gt;&lt;BR /&gt;            &amp;lt;item xsi:type="ns1:Object_List_Item"&amp;gt;&lt;BR /&gt;               &amp;lt;id xsi:type="xsd:int"&amp;gt;37486&amp;lt;/id&amp;gt;&lt;BR /&gt;               &amp;lt;type xsi:type="xsd:string"&amp;gt;object&amp;lt;/type&amp;gt;&lt;BR /&gt;            &amp;lt;/item&amp;gt;&lt;BR /&gt;         &amp;lt;/return&amp;gt;&lt;BR /&gt;      &amp;lt;/ns1:getObjectListResponse&amp;gt;&lt;BR /&gt;   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;BR /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;My Talend Job is pretty straight forward. A tFixedFlowInput going to then to my tWebService component which outputs to a tLogRow. I set the output schema as a document and synced the tLogRow to the schema of the web service. When I go to run it gives me this error: 
&lt;BR /&gt; 
&lt;PRE&gt;Exception in component tWebService_1&lt;BR /&gt;java.lang.RuntimeException: Error compiling schema from WSDL at {file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl}: &lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 208 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 247 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 642 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 681 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 3837 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 3876 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 11408 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 11447 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 16160 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 16199 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt; at line 4 column 16596 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;undefined attribute 'soap-enc:arrayType'&lt;BR /&gt; at line 4 column 16635 of schema file:/C:/Users/ctaylor/AppData/Local/Temp/wsdl1354220577164/mainWSDL.wsdl&lt;BR /&gt;	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory$InnerErrorListener.throwException(DynamicClientFactory.java:714)&lt;BR /&gt;	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:320)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:143)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:134)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:235)&lt;BR /&gt;	at myproject.getproductlist_0_1.GetProductList.tFixedFlowInput_1Process(GetProductList.java:1248)&lt;BR /&gt;	at myproject.getproductlist_0_1.GetProductList.runJobInTOS(GetProductList.java:1589)&lt;BR /&gt;	at myproject.getproductlist_0_1.GetProductList.main(GetProductList.java:1442)&lt;BR /&gt;Caused by: org.xml.sax.SAXParseException: undefined simple or complex type 'soap-enc:Array'&lt;BR /&gt;	at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:176)&lt;BR /&gt;	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:170)&lt;BR /&gt;	at com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:125)&lt;BR /&gt;	at com.sun.xml.xsom.impl.parser.DelayedRef.run(DelayedRef.java:100)&lt;BR /&gt;	at com.sun.xml.xsom.impl.parser.ParserContext.getResult(ParserContext.java:131)&lt;BR /&gt;	at com.sun.xml.xsom.parser.XSOMParser.getResult(XSOMParser.java:226)&lt;BR /&gt;	at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:519)&lt;BR /&gt;	at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:236)&lt;BR /&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;	at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt;	at org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:52)&lt;BR /&gt;	at $Proxy18.bind(Unknown Source)&lt;BR /&gt;	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:318)&lt;BR /&gt;	... 6 more&lt;/PRE&gt; 
&lt;BR /&gt;This is about as simple as it gets I think. Any ideas how to get this working?</description>
      <pubDate>Thu, 29 Nov 2012 20:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Webservice-integration/m-p/2234361#M23749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T20:40:31Z</dc:date>
    </item>
  </channel>
</rss>

