Class AddressingConfigurator
java.lang.Object
org.apache.axis2.jaxws.server.config.AddressingConfigurator
- All Implemented Interfaces:
ServerConfigurator
This class will enable/disable WS-Addressing for a JAX-WS 2.1 web service
endpoint, based on the configuration passed to it via an
Addressing
annotation and/or a SubmissionAddressing annotation from the
endpoint implementation bean.- See Also:
-
AddressingSubmissionAddressing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(EndpointDescription endpointDescription) Perform server-side configuration for aWebServiceFeature.static StringmapResponseAttributeToAddressing(jakarta.xml.ws.soap.AddressingFeature.Responses responses) Given a value for the Addressing.responses annotation attribute, map it to the corresponding Addressing constant to be set on the AxisSservicebooleanIndicates whether the configurator supports the specified binding.
-
Constructor Details
-
AddressingConfigurator
public AddressingConfigurator()
-
-
Method Details
-
configure
Description copied from interface:ServerConfiguratorPerform server-side configuration for aWebServiceFeature.- Specified by:
configurein interfaceServerConfigurator
-
mapResponseAttributeToAddressing
public static String mapResponseAttributeToAddressing(jakarta.xml.ws.soap.AddressingFeature.Responses responses) Given a value for the Addressing.responses annotation attribute, map it to the corresponding Addressing constant to be set on the AxisSservice- Parameters:
responses- Enum value from the Addressing.responses annotation attribute- Returns:
- String from AddressingContstants corresponding to the responses value.
-
supports
Description copied from interface:ServerConfiguratorIndicates whether the configurator supports the specified binding.- Specified by:
supportsin interfaceServerConfigurator- Parameters:
bindingId- the binding id to test- Returns:
trueif the configurator supports the binding id,falseotherwise.
-