You are on page 1of 13

Create Java Program for HelloWorld

Here is the Java Code for the same.


packageHelloWorld;
importjavax.jws.WebService;
@WebService
publicclassHelloWorld{
publicHelloWorld(){

super();
}
publicStringsayHello(Stringname){
returnname;
}

}
Now Deploy this as webservice on the EM under bi_server1 as shown in screenshots below.

Now navigate to EM and choose the service.

Test the service.

Received an error.

Same call through SOAP UI is successful see below screenshot.

You might also like