Package com.sun.xml.ws.api
Class WSDLLocator
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract URLlocateWSDL(Class<javax.xml.ws.Service> service, String wsdlLoc) Returns the actual WSDL location
-
Constructor Details
-
WSDLLocator
public WSDLLocator()
-
-
Method Details
-
locateWSDL
public abstract URL locateWSDL(Class<javax.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
-