# WebServiceB.jws Sample

This topic inludes the source code for the WebServiceB.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/usertoken/webServiceB/

## Sample Source Code

`01 package security.wsse.usertoken.webServiceB; 02 03 /** 04 * @jws:ws-security-service file="PolicyB.wsse" 05 * @common:target-namespace namespace="http://workshop.bea.com/WebServiceB" 06 */ 07 public class WebServiceB implements com.bea.jws.WebService 08 { 09 10 /** 11 * @common:operation 12 */ 13 public String hello() 14 { 15 return "Hello, WebServiceA!"; 16 } 17 }`