Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.jws.jaxws
Class ClientPolicyFeature

java.lang.Object
  extended by javax.xml.ws.WebServiceFeature
      extended by weblogic.jws.jaxws.ClientPolicyFeature

public class ClientPolicyFeature
extends WebServiceFeature

Allows client to override effective policy defined for service


Field Summary
static String ID
          Constant value identifying the PolicyFeature
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
ClientPolicyFeature()
           
 
Method Summary
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicy()
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForFaultMessage(QName faultMessage)
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForFaultMessage(QName operation, QName faultMessage)
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForInputMessage()
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForInputMessage(QName operation)
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOperation(QName operation)
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOutputMessage()
           
 weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOutputMessage(QName operation)
           
 String getID()
           
 void setEffectivePolicy(weblogic.jws.jaxws.policy.PolicySource policy)
          set set effective policy at endpoint scope
 void setEffectivePolicyForFaultMessage(QName faultMessage, weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy for the fault message
 void setEffectivePolicyForFaultMessage(QName operation, QName faultMessage, weblogic.jws.jaxws.policy.PolicySource policy)
          it seems that fault level policy isn't supported yet.
 void setEffectivePolicyForInputMessage(weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy for the input message
 void setEffectivePolicyForInputMessage(QName operation, weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy at operation scope for the input message
 void setEffectivePolicyForOperation(QName operation, weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy at operation scope
 void setEffectivePolicyForOutputMessage(weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy for the output message
 void setEffectivePolicyForOutputMessage(QName operation, weblogic.jws.jaxws.policy.PolicySource policy)
          set effective policy at operation scope for the output message
 
Methods inherited from class javax.xml.ws.WebServiceFeature
isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Constant value identifying the PolicyFeature

See Also:
Constant Field Values
Constructor Detail

ClientPolicyFeature

public ClientPolicyFeature()
Method Detail

getID

public String getID()
Specified by:
getID in class WebServiceFeature

setEffectivePolicy

public void setEffectivePolicy(weblogic.jws.jaxws.policy.PolicySource policy)
set set effective policy at endpoint scope

Parameters:
policy - the policy to be set

getEffectivePolicy

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicy()

setEffectivePolicyForInputMessage

public void setEffectivePolicyForInputMessage(weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy for the input message

Parameters:
policy - the policy to be set

getEffectivePolicyForInputMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForInputMessage()

setEffectivePolicyForOutputMessage

public void setEffectivePolicyForOutputMessage(weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy for the output message

Parameters:
policy - the policy to be set

getEffectivePolicyForOutputMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOutputMessage()

setEffectivePolicyForFaultMessage

public void setEffectivePolicyForFaultMessage(QName faultMessage,
                                              weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy for the fault message

Parameters:
faultMessage - Qname for the fault message
policy - the policy to be set

getEffectivePolicyForFaultMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForFaultMessage(QName faultMessage)

setEffectivePolicyForOperation

public void setEffectivePolicyForOperation(QName operation,
                                           weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy at operation scope

Parameters:
operation - QName of the operation
policy - the policy to be set

getEffectivePolicyForOperation

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOperation(QName operation)

setEffectivePolicyForInputMessage

public void setEffectivePolicyForInputMessage(QName operation,
                                              weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy at operation scope for the input message

Parameters:
operation - QName of the operation
policy - the policy to be set

getEffectivePolicyForInputMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForInputMessage(QName operation)

setEffectivePolicyForOutputMessage

public void setEffectivePolicyForOutputMessage(QName operation,
                                               weblogic.jws.jaxws.policy.PolicySource policy)
set effective policy at operation scope for the output message

Parameters:
operation - QName of the operation
policy - the policy to be set

getEffectivePolicyForOutputMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForOutputMessage(QName operation)

setEffectivePolicyForFaultMessage

public void setEffectivePolicyForFaultMessage(QName operation,
                                              QName faultMessage,
                                              weblogic.jws.jaxws.policy.PolicySource policy)
it seems that fault level policy isn't supported yet.

Parameters:
operation - QName of the operation
faultMessage - Qname for the fault message
policy - the policy to be set

getEffectivePolicyForFaultMessage

public weblogic.jws.jaxws.policy.PolicySource getEffectivePolicyForFaultMessage(QName operation,
                                                                                QName faultMessage)

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06