Class ServiceRef


  • public class ServiceRef
    extends CompatibilityDescriptionGroup
    The service-ref element declares a reference to a Web service. It contains optional description, display name and icons, a declaration of the required Service interface, an optional WSDL document location, an optional set of JAX-RPC mappings, an optional QName for the service element, an optional set of Service Endpoint Interfaces to be resolved by the container to a WSDL port, and an optional set of handlers. Java class for ServiceRef complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="ServiceRef">
       <complexContent>
         <extension base="{common.xmi}CompatibilityDescriptionGroup">
           <choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="serviceInterface" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="portComponentRefs" type="{webservice_client.xmi}PortComponentRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="handlers" type="{webservice_client.xmi}Handler"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="serviceQname" type="{common.xmi}QName"/>
             </choice>
           </choice>
           <attribute name="jaxrpcMappingFile" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="serviceInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="serviceRefName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="wsdlFile" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • serviceQnames

        protected List<QName> serviceQnames
      • jaxrpcMappingFile

        protected String jaxrpcMappingFile
      • serviceInterfaceString

        protected String serviceInterfaceString
      • serviceRefName

        protected String serviceRefName
      • wsdlFile

        protected String wsdlFile
    • Constructor Detail

      • ServiceRef

        public ServiceRef()
    • Method Detail

      • getServiceInterfaces

        public List<JavaClass> getServiceInterfaces()
        Gets the value of the serviceInterfaces property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serviceInterfaces property. For example, to add a new item, do as follows:
         getServiceInterfaces().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getPortComponentRefs

        public List<PortComponentRef> getPortComponentRefs()
        Gets the value of the portComponentRefs property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the portComponentRefs property. For example, to add a new item, do as follows:
         getPortComponentRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list PortComponentRef
      • getHandlers

        public List<Handler> getHandlers()
        Gets the value of the handlers property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the handlers property. For example, to add a new item, do as follows:
         getHandlers().add(newItem);
         
        Objects of the following type(s) are allowed in the list Handler
      • getServiceQnames

        public List<QName> getServiceQnames()
        Gets the value of the serviceQnames property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serviceQnames property. For example, to add a new item, do as follows:
         getServiceQnames().add(newItem);
         
        Objects of the following type(s) are allowed in the list QName
      • getJaxrpcMappingFile

        public String getJaxrpcMappingFile()
        Gets the value of the jaxrpcMappingFile property.
        Returns:
        possible object is String
      • setJaxrpcMappingFile

        public void setJaxrpcMappingFile​(String value)
        Sets the value of the jaxrpcMappingFile property.
        Parameters:
        value - allowed object is String
      • getServiceInterfaceString

        public String getServiceInterfaceString()
        Gets the value of the serviceInterfaceString property.
        Returns:
        possible object is String
      • setServiceInterfaceString

        public void setServiceInterfaceString​(String value)
        Sets the value of the serviceInterfaceString property.
        Parameters:
        value - allowed object is String
      • getServiceRefName

        public String getServiceRefName()
        Gets the value of the serviceRefName property.
        Returns:
        possible object is String
      • setServiceRefName

        public void setServiceRefName​(String value)
        Sets the value of the serviceRefName property.
        Parameters:
        value - allowed object is String
      • getWsdlFile

        public String getWsdlFile()
        Gets the value of the wsdlFile property.
        Returns:
        possible object is String
      • setWsdlFile

        public void setWsdlFile​(String value)
        Sets the value of the wsdlFile property.
        Parameters:
        value - allowed object is String