|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLDefinitionRegistry
Method Summary | |
---|---|
java.util.List<javax.wsdl.Definition> |
getDefinitionsForNamespace(java.lang.String namespace,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Returns a list of definitions that have been loaded for the given namespace, or null if no WSDL documents have been loaded for the given namespace |
javax.wsdl.extensions.ExtensionRegistry |
getExtensionRegistry()
Returns the ExtensionRegistry that is used when parsing WSDL documents during the loadDefinition call. |
javax.wsdl.PortType |
getPortType(javax.xml.namespace.QName name,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Returns the PortType with the supplied qualified name, or null if no such port has been defined. |
javax.wsdl.Service |
getService(javax.xml.namespace.QName name,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Returns the Service with the supplied qualified name, or null if no such service has been defined. |
javax.wsdl.Definition |
loadDefinition(java.lang.String wsdlLocation,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Load and register a WSDL definition as specified in a WSDL2.0 wsdlLocation attribute. |
javax.wsdl.Definition |
loadDefinition(java.lang.String namespace,
java.net.URL location,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Loads and registers a WSDL Definition. |
Method Detail |
---|
javax.wsdl.Definition loadDefinition(java.lang.String namespace, java.net.URL location, org.apache.tuscany.common.resource.ResourceLoader resourceLoader) throws java.io.IOException, javax.wsdl.WSDLException
namespace
- the expected namespace, or null if any namespace should be allowedlocation
- the location to load the definition fromresourceLoader
- the application resource loader
java.io.IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionjavax.wsdl.Definition loadDefinition(java.lang.String wsdlLocation, org.apache.tuscany.common.resource.ResourceLoader resourceLoader) throws java.io.IOException, javax.wsdl.WSDLException
wsdlLocation
- the value of the wsdlLocation attributeresourceLoader
- application resource loader used to support relative locations
java.io.IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionjavax.wsdl.PortType getPortType(javax.xml.namespace.QName name, org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
name
- the qualified name of the WSDL portTyperesourceLoader
- the application resource loader
javax.wsdl.Service getService(javax.xml.namespace.QName name, org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
name
- the qualified name of the WSDL serviceresourceLoader
- the application resource loader
java.util.List<javax.wsdl.Definition> getDefinitionsForNamespace(java.lang.String namespace, org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
namespace
- the namespace to lookupresourceLoader
- the application resource loader
javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |