# 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/callback/client/

## Sample Source Code

`01 package security.wsse.callback.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 public Callback callback; 09 10 /** 11 * @common:control 12 */ 13 private security.wsse.callback.client.TargetControl targetControl; 14 15 16 /** 17 * @common:operation 18 * @common:message-buffer enable="true" 19 * @jws:conversation phase="start" 20 */ 21 public void invokeHello() 22 { 23 targetControl.hello(); 24 } 25 26 public interface Callback extends com.bea.control.ServiceControl 27 { 28 /** 29 * @jws:conversation phase="finish" 30 * @common:message-buffer enable="true" 31 */ 32 void callback(java.lang.String message); 33 } 34 35 public void targetControl_callback(java.lang.String message) 36 { 37 callback.callback(message); 38 } 39 }`