Class WSDDService

    • Constructor Detail

      • WSDDService

        public WSDDService()
        Default constructor
      • WSDDService

        public WSDDService​(org.w3c.dom.Element e)
                    throws WSDDException
        Parameters:
        e - (Element) XXX
        Throws:
        WSDDException - XXX
    • Method Detail

      • initTMR

        protected void initTMR()
                        throws WSDDException
        Initialize a TypeMappingRegistry with the WSDDTypeMappings. Note: Extensions of WSDDService may override initTMR to popluate the tmr with different type mappings.
        Throws:
        WSDDException
      • validateDescriptors

        public void validateDescriptors()
                                 throws WSDDException
        This method can be used for dynamic deployment using new WSDDService() etc. It validates some standard parameters for some standard providers (if present). Do this before deployment.deployService().
        Throws:
        WSDDException
      • addTypeMapping

        public void addTypeMapping​(WSDDTypeMapping mapping)
        Add a WSDDTypeMapping to the Service.
        Parameters:
        mapping -
      • addOperation

        public void addOperation​(WSDDOperation operation)
        Add a WSDDOperation to the Service.
        Parameters:
        operation - the operation to add
      • getServiceDescriptionURL

        public java.lang.String getServiceDescriptionURL()
        Get any service description URL which might be associated with this service.
        Returns:
        a String containing a URL, or null.
      • setServiceDescriptionURL

        public void setServiceDescriptionURL​(java.lang.String sdUrl)
        Set the service description URL for this service.
        Parameters:
        sdUrl - a String containing a URL
      • getProviderQName

        public QName getProviderQName()
      • setProviderQName

        public void setProviderQName​(QName providerQName)
      • getStyle

        public Style getStyle()
        Get the service style - document or RPC
      • setStyle

        public void setStyle​(Style style)
        Set the service style - document or RPC
      • getUse

        public Use getUse()
        Get the service use - literal or encoded
      • setUse

        public void setUse​(Use use)
        Set the service use - literal or encoded
      • getNamespaces

        public java.util.Vector getNamespaces()
        Obtain the list of namespaces registered for this service
        Returns:
        a Vector of namespaces (Strings) which should dispatch to this service
      • writeToContext

        public void writeToContext​(SerializationContext context)
                            throws java.io.IOException
        Write this element out to a SerializationContext
        Specified by:
        writeToContext in class WSDDElement
        Throws:
        java.io.IOException
      • setCachedService

        public void setCachedService​(SOAPService service)
      • getTypeMappings

        public java.util.Vector getTypeMappings()
      • setTypeMappings

        public void setTypeMappings​(java.util.Vector typeMappings)
      • removeNamespaceMappings

        public void removeNamespaceMappings​(WSDDDeployment registry)
      • getTypeMapping

        public TypeMapping getTypeMapping​(java.lang.String encodingStyle)