Class AddressingType

java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.AddressingType
All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable

public class AddressingType extends Object implements org.glassfish.jaxb.core.Locatable
This specifies the WS-Addressing requirements for a JAX-WS web service. It corresponds to jakarta.xml.ws.soap.Addressing annotation or its feature jakarta.xml.ws.soap.AddressingFeature. If the "enabled" element is "true", WS-Addressing is enabled. It means that the endpoint supports WS-Addressing but does not require its use. The default value for "enabled" is "true". If the WS-Addressing is enabled and the "required" element is "true", it means that the endpoint requires WS-Addressing. The default value for "required" is "false". If WS-Addressing is enabled, the "responses" element determines if an endpoint requires the use of only anonymous responses, or only non-anonymous responses, or all. The value of the "responses" element must be one of the following: ANONYMOUS NON_ANONYMOUS ALL The default value for the "responses" is ALL.

Java class for addressingType complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="addressingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="enabled" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
         <element name="required" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
         <element name="responses" type="{http://java.sun.com/xml/ns/javaee}addressing-responsesType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • AddressingType

      public AddressingType()
  • Method Details

    • getEnabled

      public TrueFalseType getEnabled()
      Gets the value of the enabled property.
      Returns:
      possible object is TrueFalseType
    • setEnabled

      public void setEnabled(TrueFalseType value)
      Sets the value of the enabled property.
      Parameters:
      value - allowed object is TrueFalseType
    • getRequired

      public TrueFalseType getRequired()
      Gets the value of the required property.
      Returns:
      possible object is TrueFalseType
    • setRequired

      public void setRequired(TrueFalseType value)
      Sets the value of the required property.
      Parameters:
      value - allowed object is TrueFalseType
    • getResponses

      public AddressingResponsesType getResponses()
      Gets the value of the responses property.
      Returns:
      possible object is AddressingResponsesType
    • setResponses

      public void setResponses(AddressingResponsesType value)
      Sets the value of the responses property.
      Parameters:
      value - allowed object is AddressingResponsesType
    • sourceLocation

      public Locator sourceLocation()
      Specified by:
      sourceLocation in interface org.glassfish.jaxb.core.Locatable
    • setSourceLocation

      public void setSourceLocation(Locator newLocator)