Class AddressingType

  • All Implemented Interfaces:
    com.sun.xml.bind.Locatable

    public class AddressingType
    extends Object
    implements com.sun.xml.bind.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>