com.sun.xml.ws.api
Class WSDLLocator

java.lang.Object
  extended by com.sun.xml.ws.api.WSDLLocator

public abstract class WSDLLocator
extends java.lang.Object

Used to locate WSDL documents; particularly useful for J2EE deployment archives

Since:
2.2.6

Constructor Summary
WSDLLocator()
           
 
Method Summary
abstract  java.net.URL locateWSDL(java.lang.Class<Service> service, java.lang.String wsdlLoc)
          Returns the actual WSDL location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLLocator

public WSDLLocator()
Method Detail

locateWSDL

public abstract java.net.URL locateWSDL(java.lang.Class<Service> service,
                                        java.lang.String wsdlLoc)
                                 throws java.net.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:
java.net.MalformedURLException - if there is an error in creating URL


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.