Class WSDLLocator


  • public abstract class WSDLLocator
    extends Object
    Used to locate WSDL documents; particularly useful for J2EE deployment archives
    Since:
    2.2.6
    • Constructor Detail

      • WSDLLocator

        public WSDLLocator()
    • Method Detail

      • locateWSDL

        public abstract URL locateWSDL​(Class<jakarta.xml.ws.Service> service,
                                       String wsdlLoc)
                                throws MalformedURLException
        Returns the actual WSDL location
        Parameters:
        service - Service class
        wsdlLoc - Designates the WSDL location either from the service class or through other means
        Returns:
        the actual WSDL location, if found, or null if not found.
        Throws:
        MalformedURLException - if there is an error in creating URL