Class WebService

  • All Implemented Interfaces:
    Serializable

    public class WebService
    extends Descriptor
    Information about a single webservice-description in webservices.xml
    Author:
    Kenneth Saks, Jerome Dochez
    See Also:
    Serialized Form
    • Constructor Detail

      • WebService

        public WebService()
        Default constructor.
      • WebService

        public WebService​(WebService other)
        copy constructor.
      • WebService

        public WebService​(String name)
    • Method Detail

      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • isJaxWSBased

        public Boolean isJaxWSBased()
        If this returns non-null value, then it is verified that all the endpoints are of the same type.
        Returns:
      • setJaxWSBased

        public void setJaxWSBased​(boolean isJaxWSBased)
        This is called after verifying that all the endpoints are of the same type, either JAX-WS or JAX-RPC
        Parameters:
        isJaxWSBased -
      • hasWsdlFile

        public boolean hasWsdlFile()
      • setWsdlFileUri

        public void setWsdlFileUri​(String uri)
      • getWsdlFileUri

        public String getWsdlFileUri()
      • getWsdlFileUrl

        public URL getWsdlFileUrl()
      • setWsdlFileUrl

        public void setWsdlFileUrl​(URL url)
      • getGeneratedWsdlFilePath

        public String getGeneratedWsdlFilePath()
      • hasMappingFile

        public boolean hasMappingFile()
      • setMappingFileUri

        public void setMappingFileUri​(String uri)
      • getMappingFileUri

        public String getMappingFileUri()
      • getMappingFile

        public File getMappingFile()
      • setMappingFile

        public void setMappingFile​(File file)
      • removeEndpointByName

        public void removeEndpointByName​(String endpointName)
      • hasClientPublishUrl

        public boolean hasClientPublishUrl()
      • setClientPublishUrl

        public void setClientPublishUrl​(URL url)
      • getClientPublishUrl

        public URL getClientPublishUrl()
      • hasUrlPublishing

        public boolean hasUrlPublishing()
      • hasFilePublishing

        public boolean hasFilePublishing()
      • pickEndpointForRelativeImports

        public WebServiceEndpoint pickEndpointForRelativeImports()
        Select one of this webservice's endpoints to use for converting relative imports.
      • print

        public void print​(StringBuilder toStringBuilder)
        Returns a formatted String of the attributes of this object.
        Overrides:
        print in class Descriptor