java.lang.Object
com.sun.xml.ws.api.WSDLLocator
Used to locate WSDL documents; particularly useful for J2EE deployment archives
- Since:
- 2.2.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract URL
locateWSDL
(Class<jakarta.xml.ws.Service> service, String wsdlLoc) Returns the actual WSDL location
-
Constructor Details
-
WSDLLocator
protected WSDLLocator()Default constructor.
-
-
Method Details
-
locateWSDL
public abstract URL locateWSDL(Class<jakarta.xml.ws.Service> service, String wsdlLoc) throws MalformedURLException Returns the actual WSDL location- Parameters:
service
- Service classwsdlLoc
- 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
-