Class WsawAddressingPolicyMapConfigurator

  • All Implemented Interfaces:
    com.sun.xml.ws.policy.jaxws.spi.PolicyMapConfigurator

    public class WsawAddressingPolicyMapConfigurator
    extends Object
    implements com.sun.xml.ws.policy.jaxws.spi.PolicyMapConfigurator
    Generate an wsaw:UsingAddressing policy assertion and updates the PolicyMap if AddressingFeature is enabled. This is done in WSIT just for backwards compatibility of WSIT for interoperability with old clients. JAX-WS generates wsam:Addressing assertion for the same when Addressing is enabled.
    Author:
    Rama Pulavarthi
    • Constructor Detail

      • WsawAddressingPolicyMapConfigurator

        public WsawAddressingPolicyMapConfigurator()
    • Method Detail

      • update

        public Collection<com.sun.xml.ws.policy.PolicySubject> update​(com.sun.xml.ws.policy.PolicyMap policyMap,
                                                                      com.sun.xml.ws.api.model.SEIModel model,
                                                                      com.sun.xml.ws.api.WSBinding wsBinding)
                                                               throws com.sun.xml.ws.policy.PolicyException
        Puts an addressing policy into the PolicyMap if the addressing feature was set.
        Specified by:
        update in interface com.sun.xml.ws.policy.jaxws.spi.PolicyMapConfigurator
        Throws:
        com.sun.xml.ws.policy.PolicyException