Writing a Hello World Service in Java and call in Talend Open Studio

One Star

Writing a Hello World Service in Java and call in Talend Open Studio

Hi there. I'm very new to Talend and I'd like to do the following:
Write a java Class that will be a webservice.
Deploy this Service in Talend Runtime(localhost).
Call this Webservice from within Talend Open Studio (localhost/remote)
I'm using Netbeans IDE to write the Java classes:
package greetingservice;
import javax.jws.WebService;
/**
 *
 * @author Raildex
 */
@WebService
public interface GreetingPortType {
   
    public String greet(String name);
}

package greetingservice;
import javax.jws.WebService;
/**
 *
 * @author Raildex
 */
@WebService()
public class HelloPortTypeImpl implements GreetingPortType{
    @Override
    public String greet(String name) {
        return "Hello, "+name+"!";
    }
}

But no matter what I do, I can't find a tutorial that explains how I deploy this service within Runtime.
I may see the Service active with the feature:list command and hawtio points to a valid URL
() but how do I call the specified method?
Where do I put the WSDL file so I can get it via /GreetingSerive/Service?wsdl like any other Webservice?
Employee

Re: Writing a Hello World Service in Java and call in Talend Open Studio

Hi Reaildex
You may have a look at this online doc: https://help.talend.com/pages/viewpage.action?pageId=267980545
Regards.
One Star

Re: Writing a Hello World Service in Java and call in Talend Open Studio

I already did that. But there's no WSDL or something like that in my WAR Archive.
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