@jc:ws-security-service Annotation

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.

Syntax

@jc:ws-security-service

file="[path_to_policy_file]"

Attributes

file

Required. Specifes the path to the WS-Security policy file (WSSE file) used by the web service.

Example

/**
 * @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

Related Topics

Applying WS-Security Policy Files

@jc:ws-security-callback Annotation

@jws:ws-security-service Annotation

@jws:ws-security-callback Annotation