The @jc:ws-security-service annotation determines the WS-Security policy file (WSSE) to be applied to (1) outcoming SOAP invocations of the target web service's methods and (2) the incoming SOAP messages containing the value returned by the target web service's methods.
@jc:ws-security-service
file="[path_to_policy_file]"
Required. Specifes the path to the WS-Security policy file (WSSE file) used by the web service.
/** * @jc:location http-url="http://localhost:7001/WebServices/security/wsse/callback/target/Target.jws" jms-url="Target.jws" * @jc:ws-security-service file="TargetControlPolicy.wsse" */ public interface TargetControl extends com.bea.control.ControlExtension, com.bea.control.ServiceControl
Applying WS-Security Policy Files
@jc:ws-security-callback Annotation