<?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 Writing a Hello World Service in Java and call in Talend Open Studio in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225055#M17517</link>
    <description>Hi there. I'm very new to Talend and I'd like to do the following:
&lt;BR /&gt;Write a java Class that will be a webservice.
&lt;BR /&gt;Deploy this Service in Talend Runtime(localhost).
&lt;BR /&gt;Call this Webservice from within Talend Open Studio (localhost/remote)
&lt;BR /&gt;I'm using Netbeans IDE to write the Java classes:
&lt;BR /&gt;
&lt;PRE&gt;package greetingservice;&lt;BR /&gt;import javax.jws.WebService;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;*&lt;BR /&gt;&amp;nbsp;* @author Raildex&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;@WebService&lt;BR /&gt;public interface GreetingPortType {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String greet(String name);&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;PRE&gt;package greetingservice;&lt;BR /&gt;import javax.jws.WebService;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;*&lt;BR /&gt;&amp;nbsp;* @author Raildex&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;@WebService()&lt;BR /&gt;public class HelloPortTypeImpl implements GreetingPortType{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String greet(String name) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "Hello, "+name+"!";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;BR /&gt;But no matter what I do, I can't find a tutorial that explains how I deploy this service within Runtime.
&lt;BR /&gt;I may see the Service active with the feature:list command and hawtio points to a valid URL
&lt;BR /&gt;() but how do I call the specified method?
&lt;BR /&gt;Where do I put the WSDL file so I can get it via /GreetingSerive/Service?wsdl like any other Webservice?</description>
    <pubDate>Sat, 16 Nov 2024 10:13:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:13:19Z</dc:date>
    <item>
      <title>Writing a Hello World Service in Java and call in Talend Open Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225055#M17517</link>
      <description>Hi there. I'm very new to Talend and I'd like to do the following:
&lt;BR /&gt;Write a java Class that will be a webservice.
&lt;BR /&gt;Deploy this Service in Talend Runtime(localhost).
&lt;BR /&gt;Call this Webservice from within Talend Open Studio (localhost/remote)
&lt;BR /&gt;I'm using Netbeans IDE to write the Java classes:
&lt;BR /&gt;
&lt;PRE&gt;package greetingservice;&lt;BR /&gt;import javax.jws.WebService;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;*&lt;BR /&gt;&amp;nbsp;* @author Raildex&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;@WebService&lt;BR /&gt;public interface GreetingPortType {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String greet(String name);&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;PRE&gt;package greetingservice;&lt;BR /&gt;import javax.jws.WebService;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;*&lt;BR /&gt;&amp;nbsp;* @author Raildex&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;@WebService()&lt;BR /&gt;public class HelloPortTypeImpl implements GreetingPortType{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String greet(String name) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "Hello, "+name+"!";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;BR /&gt;But no matter what I do, I can't find a tutorial that explains how I deploy this service within Runtime.
&lt;BR /&gt;I may see the Service active with the feature:list command and hawtio points to a valid URL
&lt;BR /&gt;() but how do I call the specified method?
&lt;BR /&gt;Where do I put the WSDL file so I can get it via /GreetingSerive/Service?wsdl like any other Webservice?</description>
      <pubDate>Sat, 16 Nov 2024 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225055#M17517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a Hello World Service in Java and call in Talend Open Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225056#M17518</link>
      <description>Hi Reaildex&lt;BR /&gt;You may have a look at this online doc: &lt;A href="https://help.talend.com/pages/viewpage.action?pageId=267980545" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/pages/viewpage.action?pageId=267980545&lt;/A&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 07 Dec 2016 04:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225056#M17518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-07T04:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a Hello World Service in Java and call in Talend Open Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225057#M17519</link>
      <description>I already did that. But there's no WSDL or something like that in my WAR Archive.&lt;BR /&gt;The Documentation doesn't explain anything, just "Do this, and you can call the service" and not how to setup the service or anything behind-the-scenes</description>
      <pubDate>Sun, 11 Dec 2016 20:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-a-Hello-World-Service-in-Java-and-call-in-Talend-Open/m-p/2225057#M17519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-11T20:18:38Z</dc:date>
    </item>
  </channel>
</rss>

