Client.jws Sample

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

Sample Location

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

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/security/wsse/reqResp/client/

Sample Source Code


01 package security.wsse.reqResp.client; 
02 
03 /**
04  * @common:target-namespace namespace="http://workshop.bea.com/Client"
05  */
06 public class Client implements com.bea.jws.WebService
07 
08     /**
09      * @common:control
10      */
11     private security.wsse.reqResp.client.MyCompanyControl myCompanyControl;
12 
13     /**
14      * @common:operation
15      */
16     public String invokeHello()
17     {
18         return myCompanyControl.hello();
19     }
20