The service-ref-type element declares the type of the service-ref element that is injected or returned when a JNDI lookup is done. This must be either a fully qualified name of Service class or the fully qualified name of service endpoint interface class. This is only used with JAX-WS runtime where the corresponding @WebServiceRef annotation can be used to denote both a Service or a Port. If this is not specified, then the type of service-ref element that is injected or returned when a JNDI lookup is done is always a Service interface/class. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
id | xsd:ID | optional |
<xsd:element name="service-ref-type" type="javaee:fully-qualified-classType" minOccurs="0" maxOccurs="1"> <xsd:annotation> <xsd:documentation>The service-ref-type element declares the type of the service-ref element that is injected or returned when a JNDI lookup is done. This must be either a fully qualified name of Service class or the fully qualified name of service endpoint interface class. This is only used with JAX-WS runtime where the corresponding @WebServiceRef annotation can be used to denote both a Service or a Port. If this is not specified, then the type of service-ref element that is injected or returned when a JNDI lookup is done is always a Service interface/class.</xsd:documentation> </xsd:annotation> </xsd:element> |