MyCompany.jws Sample
This topic inludes the source code for the MyCompany.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/mycompany/
Sample Source Code
01 package security.wsse.reqResp.mycompany;
02
03 /**
04 * @jws:ws-security-service file="MyCompanySecurityPolicy.wsse"
05 * @common:target-namespace namespace="http://workshop.bea.com/MyCompany"
06 */
07 public class MyCompany implements com.bea.jws.WebService
08 {
09
10 /**
11 * @common:operation
12 */
13 public String hello()
14 {
15 return "Hello, Client!";
16 }
17 }
|