javaee:port-component-refType

The port-component-ref element declares a client dependency
on the container for resolving a Service Endpoint Interface
to a WSDL port. It optionally associates the Service Endpoint
Interface with a particular port-component. This is only used
by the container for a Service.getPort(Class) method call.

Complex Type Information

Model

Attributes

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

Used By

Source

<xsd:complexType name="port-component-refType">
  <xsd:annotation>
    <xsd:documentation>The port-component-ref element declares a client dependency on the container for resolving a Service Endpoint Interface to a WSDL port. It optionally associates the Service Endpoint Interface with a particular port-component. This is only used by the container for a Service.getPort(Class) method call.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="service-endpoint-interface" type="javaee:fully-qualified-classType">
      <xsd:annotation>
        <xsd:documentation>The service-endpoint-interface element defines a fully qualified Java class that represents the Service Endpoint Interface of a WSDL port.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="enable-mtom" type="javaee:true-falseType" minOccurs="0" maxOccurs="1">
      <xsd:annotation>
        <xsd:documentation>Used to enable or disable SOAP MTOM/XOP mechanism on the client side for a port-component. Not to be specified for JAX-RPC runtime</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="port-component-link" type="javaee:string" minOccurs="0" maxOccurs="1">
      <xsd:annotation>
        <xsd:documentation>The port-component-link element links a port-component-ref to a specific port-component required to be made available by a service reference. The value of a port-component-link must be the port-component-name of a port-component in the same module or another module in the same application unit. The syntax for specification follows the syntax defined for ejb-link in the EJB 2.0 specification.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>