HelloWorld.jws Sample

This topic inludes the source code for the HelloWorld.jws Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/controls/webservice/helloworld/syncWebService/

Sample Source Code


01 package controls.webservice.helloworld.syncWebService; 
02 
03 public class HelloWorld implements com.bea.jws.WebService
04 
05     /**
06      * @common:operation
07      */
08     public String HelloWorld()
09     {
10         return "Hello, World!";
11     }
12