Celtix User APIs

org.objectweb.celtix.wsdl
Interface WSDLManager


public interface WSDLManager

WSDLManager


Method Summary
 javax.wsdl.Definition getDefinition(Class<?> sei)
          Get the WSDL definition for the given class.
 javax.wsdl.Definition getDefinition(Element element)
          Get the WSDL definition for the given Element.
 javax.wsdl.Definition getDefinition(String url)
          Get the WSDL definition for the given URL.
 javax.wsdl.Definition getDefinition(URL url)
          Get the WSDL definition for the given URL.
 javax.wsdl.extensions.ExtensionRegistry getExtenstionRegistry()
          Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files.
 javax.wsdl.factory.WSDLFactory getWSDLFactory()
          Returns the WSDLFactory that is used to read/write WSDL dedfinitions
 

Method Detail

getExtenstionRegistry

javax.wsdl.extensions.ExtensionRegistry getExtenstionRegistry()
Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files. Users can use this to register their own extensors.

Returns:
the ExtensionRegistry

getWSDLFactory

javax.wsdl.factory.WSDLFactory getWSDLFactory()
Returns the WSDLFactory that is used to read/write WSDL dedfinitions

Returns:
the WSDLFactory

getDefinition

javax.wsdl.Definition getDefinition(URL url)
                                    throws javax.wsdl.WSDLException
Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

Parameters:
url - - the location of the WSDL to load
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

getDefinition

javax.wsdl.Definition getDefinition(String url)
                                    throws javax.wsdl.WSDLException
Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

Parameters:
url - - the location of the WSDL to load
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

getDefinition

javax.wsdl.Definition getDefinition(Element element)
                                    throws javax.wsdl.WSDLException
Get the WSDL definition for the given Element. Implementations may return a copy from a local cache or load a new copy from the Element.

Parameters:
element - - the root element of the wsdl
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

getDefinition

javax.wsdl.Definition getDefinition(Class<?> sei)
                                    throws javax.wsdl.WSDLException
Get the WSDL definition for the given class. Implementations may return a copy from a local cache or load a new copy from the class.

Parameters:
sei - - the Class annotated with a WebService annotation
Returns:
the wsdl Definition
Throws:
javax.wsdl.WSDLException

Celtix User APIs