@jws:ws-security-callback Annotation

The @jws:ws-security-callback annotation determines the WS-Security policy file (WSSE file) to be applied to (1) outgoing callback SOAP messages sent from the web service to its clients and to (2) the incoming SOAP messages returned by the client's callback handler method.

Syntax

@jws:ws-security-callback

file="[path_to_wsse_file]"

Attributes

file

Required. Specifies the location of the WS-Security file to apply.

Example

/**
 * @jws:ws-security-callback file="MyCompanySecurityPolicy.wsse"
 */
public class MyCompany implements com.bea.jws.WebService

Related Topics

@jws:ws-security-service Annotation

@jc:ws-security-service Annotation

@jc:ws-security-callback Annotation

Applying WS-Security Policy Files