<?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 Did I miss something with tWebServiceInput ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Did-I-miss-something-with-tWebServiceInput/m-p/2323715#M93513</link>
    <description>&lt;P&gt;[UPDATED]&lt;/P&gt; 
&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;I want to consume Magento SOAP webservice in Talend. The newbie solution I tried first was to write manually soap messages in custom routines. It works but not viable at long term and really painful to maintain. You guess it's the first time I deal with SOAP.&lt;/P&gt; 
&lt;P&gt;Now I've discovered code generation using wsdl2java in tWebServiceInput. I got the following new routines: BindingStub, MagentoService, MagentoServiceLocator, Porttype.&lt;/P&gt; 
&lt;P&gt;In a tJava, I wrote:&lt;/P&gt; 
&lt;PRE&gt;String wsdl = "http://mymagento.localhost/index.php/api/soap/";
routines.PortType porttype = new routines.MagentoServiceLocator().getPort(new java.net.URL(wsdl));
String resp= porttype.login("myusername", "mypassword");
System.out.println(resp);&lt;/PRE&gt; 
&lt;P&gt;But when I run it, I got the following error.&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;How do I install this missing class ?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:31:55 GMT</pubDate>
    <dc:creator>navds</dc:creator>
    <dc:date>2024-11-16T08:31:55Z</dc:date>
    <item>
      <title>Did I miss something with tWebServiceInput ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Did-I-miss-something-with-tWebServiceInput/m-p/2323715#M93513</link>
      <description>&lt;P&gt;[UPDATED]&lt;/P&gt; 
&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;I want to consume Magento SOAP webservice in Talend. The newbie solution I tried first was to write manually soap messages in custom routines. It works but not viable at long term and really painful to maintain. You guess it's the first time I deal with SOAP.&lt;/P&gt; 
&lt;P&gt;Now I've discovered code generation using wsdl2java in tWebServiceInput. I got the following new routines: BindingStub, MagentoService, MagentoServiceLocator, Porttype.&lt;/P&gt; 
&lt;P&gt;In a tJava, I wrote:&lt;/P&gt; 
&lt;PRE&gt;String wsdl = "http://mymagento.localhost/index.php/api/soap/";
routines.PortType porttype = new routines.MagentoServiceLocator().getPort(new java.net.URL(wsdl));
String resp= porttype.login("myusername", "mypassword");
System.out.println(resp);&lt;/PRE&gt; 
&lt;P&gt;But when I run it, I got the following error.&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;How do I install this missing class ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Did-I-miss-something-with-tWebServiceInput/m-p/2323715#M93513</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2024-11-16T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Did I miss something with tWebServiceInput ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Did-I-miss-something-with-tWebServiceInput/m-p/2323716#M93514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;There are two ways for you to import and use an external jar. &lt;BR /&gt; 1)Using tLibraryload component to load the jar file at the begininig of job. for example:&lt;BR /&gt; tLibraryLoad&lt;BR /&gt; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt; tJava(on tJava, use the external API)&lt;BR /&gt; &lt;BR /&gt; 2)Creating custom routine, import the external jar file by clicking on the routine name and editing the routine libraries, and then call this routine in the job.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Did-I-miss-something-with-tWebServiceInput/m-p/2323716#M93514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T09:17:43Z</dc:date>
    </item>
  </channel>
</rss>

