javaee:service-ref_handlerType

Declares the handler for a port-component. Handlers can access the
	init-param name/value pairs using the HandlerInfo interface. If
	port-name is not specified, the handler is assumed to be associated
	with all ports of the service.

	Used in: service-ref

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xsd:ID optional

Used By

Source

<xsd:complexType name="service-ref_handlerType">
  <xsd:annotation>
    <xsd:documentation>Declares the handler for a port-component. Handlers can access the init-param name/value pairs using the HandlerInfo interface. If port-name is not specified, the handler is assumed to be associated with all ports of the service. Used in: service-ref</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:group ref="javaee:descriptionGroup"/>
    <xsd:element name="handler-name" type="javaee:string">
      <xsd:annotation>
        <xsd:documentation>Defines the name of the handler. The name must be unique within the module.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="handler-class" type="javaee:fully-qualified-classType">
      <xsd:annotation>
        <xsd:documentation>Defines a fully qualified class name for the handler implementation.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="init-param" type="javaee:param-valueType" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="soap-header" type="javaee:xsdQNameType" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Defines the QName of a SOAP header that will be processed by the handler.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="soap-role" type="javaee:string" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>The soap-role element contains a SOAP actor definition that the Handler will play as a role.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="port-name" type="javaee:string" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>The port-name element defines the WSDL port-name that a handler should be associated with.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>