# @jc:ws-security-callback Annotation

The @jc:ws-security-callback annotation determines the WS-Security policy file (WSSE file) to be applied to (1) inbound callback SOAP messages sent from the target web service to the control's callback handler and (2) the outbound SOAP messages returned by the control's callback handler to the target web service.

## Syntax

@jc:ws-security-callback

file="[path_to_wsse_file]"

## Attributes

file

Required. Specifies the location of the WS-Security policy file (WSSE file) to apply.

## Example

    /**
     * @jc:location http-url="http://localhost:7001/WebServices/security/wsse/callback/target/Target.jws" jms-url="Target.jws"
     * @jc:ws-security-callback 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-service Annotation

@jws:ws-security-service Annotation

@jws:ws-security-callback Annotation