Skip Headers
Oracle® Web Services Manager Extensibility Guide
10
g
(10.1.3.3.0)
Part Number E10300-01
Home
Index
Contact Us
Next
View PDF
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Developing and Deploying Custom Steps
Custom Step Creation Overview
Developing a Custom Step
About the execute Method
About Init and Destroy
About IResult States
About the AbstractStep Class
Setting Outgoing HTTP Headers in a Custom Step
Modifying the Content of SOAP Messages in a Custom Step
Adding Logs to a Custom Step
Defining a Custom Step Template
Deploying a Custom Step
2
Understanding the Sample Custom Step
Understanding the Custom Authentication Step
Stepping Through the Lifecycle Using the init, execute, and destroy Methods
Accessing Data from the Message Context and Logging the Data
Setting Result Status and Authenticated User Name in the Message Context
Setting the Invocation Status for Operational Statistics
Custom Step Template
Defining displayType Properties in the Custom Step Template
Defining Fault Codes in the Custom Step Template
Custom Authentication Step Source Code
Compiling and Running the Custom Authentication Step
Compiling the Custom Authentication Step
Deploying the customAuthenticationStep.jar File
Deploying the Custom Authentication Step Template
Adding the Custom Authentication Step to a Policy
Testing the Custom Authentication Step
Checking Monitoring Data
3
Policy Steps SDK Interfaces & Methods
IStep
setEnabled()
getEnabled()
setStepName()
getStepName()
getAgentContext()
setAgentContext()
execute()
init()
destroy()
setFaultCodes()
getFaultCodes()
AbstractStep
createResult()
setEnabled()
getEnabled()
setStepName()
getStepName()
getAgentContext()
setAgentContext()
execute()
init()
generateFault()
destroy()
setFaultCodes()
getFaultCodes()
createResult()
IContext
getProperty()
getPropertyNames()
containsProperty()
setProperty()
removeProperty()
IMessageContext
MessageContext() Fields
STAGE_PREREQUEST
STAGE_REQUEST
STAGE_RESPONSE
STAGE_POSTRESPONSE
STAGE_SERVICE
STAGE_SERVICE_DEFINITION
STAGE_SERVICE_WSDL
getGUID()
getServiceID()
getServiceURL()
getRemoteUser()
getRequestMessage()
getResponseMessage()
setRequestMessage()
setResponseMessage()
getProcessingStage()
setProcessingStage()
getInvocationStatus()
IResult
getStatus()
setStatus()
getFault()
setFault()
Result
getStatus()
setStatus()
getFault()
setFault()
toString()
AgentContext
AgentContext Fields
SERVER_ID
LOG_LOGBUNDLES
LOG_LOGENABLED
COREMAN_ENABLED
POLICYSERVER_ENDPOINT
POLICYSERVER_ENABLED
POLICYPACKS_FILENAME
getAgentID()
getProperty()
getStringProperty()
getIntProperty()
getIntProperty()
getResourceResolver()
getAllProperties()
InvocationStatus
InvocationStatus() Fields
SUCCEEDED
FAILED
FAILEDOVER
PENDING
NA
getServiceName()
setServiceName()
getTime()
setTime()
getAuthenticationStatus()
setAuthenticationStatus()
getAuthorizationStatus()
setAuthorizationStatus()
getServiceStatus()
setServiceStatus()
getInvocationStatus()
setInvocationStatus()
getSize()
setSize()
getLatency()
setLatency()
getServiceLatency()
setServiceLatency()
getFlowID()
setFlowID()
getMethod()
setMethod()
getCorrelationContext()
setCorrelationContext()
getMessageId()
setMessageId()
getErrorMessage()
setErrorMessage()
toString()
Fault
getFaultNS()
getFaultString()
getFaultDetail()
getFaultActor()
getQualifiedFaultCode()
getFaultCodeQualifier()
getFaultCode()
getFaultDetailsAsString()
A
Custom Step Source Code and Step Template
Custom Step Source Code
Custom Step Template
B
Step Template Schema
Step Template Schema
Index