Package org.apache.axis2.jaxws.util
Class WSDL4JWrapper
- java.lang.Object
-
- org.apache.axis2.jaxws.util.WSDL4JWrapper
-
- All Implemented Interfaces:
WSDLWrapper
public class WSDL4JWrapper extends Object implements WSDLWrapper
Implementation of WSDLWrapper interface which controls access to the underlying Definition (WSDLDefinitionWrapper). The WSDLDefinitionWrapper implementation uses various strategies to control its in-memory footprint.
-
-
Field Summary
-
Fields inherited from interface org.apache.axis2.jaxws.util.WSDLWrapper
POLICY, POLICY_REFERENCE, SCHEMA, SOAP_11_BINDING, SOAP_11_BODY, SOAP_11_HEADER, SOAP_11_OPERATION, SOAP_12_BINDING, SOAP_12_BODY, SOAP_12_HEADER, SOAP_12_OPERATION
-
-
Constructor Summary
Constructors Constructor Description WSDL4JWrapper(URL wsdlURL)Deprecated.Use a constructor that passes in the ConfigContext, or memoryLimit parameterWSDL4JWrapper(URL wsdlURL, boolean limitMemory, int memoryType)WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition)Deprecated.Use a constructor that has a ConfigContext or memoryLimit parameterWSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType)ConstructorWSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext)ConstructorWSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager)ConstructorWSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager)Deprecated.Use a constructor with a ConfigurationContext or memory limit settingWSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType)ConstructorWSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext)WSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext, JAXWSCatalogManager catalogManager)WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager)Deprecated.use a constructor with a ConfigurationContext or limitMemory parameterWSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory)WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType)WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition)Deprecated.Use WSDL4JWrapper(Definition,ConfigurationContext)WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType)ConstructorWSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.wsdl.DefinitiongetDefinition()javax.wsdl.BindinggetFirstPortBinding(QName serviceQname)StringgetOperationName(QName serviceQname, QName portQname)ArrayListgetPortBinding(QName serviceQname)StringgetPortBinding(QName serviceQname, QName portQname)String[]getPorts(QName serviceQname)javax.wsdl.ServicegetService(QName serviceQname)StringgetSOAPAction(QName serviceQname)StringgetSOAPAction(QName serviceQname, QName portQname)StringgetSOAPAction(QName serviceQname, QName portQname, QName operationQname)StringgetTargetNamespace()javax.wsdl.DefinitiongetUnwrappedDefinition()URLgetWSDLLocation()javax.wsdl.DefinitionloadDefinition()
-
-
-
Constructor Detail
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
Deprecated.Use a constructor that passes in the ConfigContext, or memoryLimit parameterConstructor- Parameters:
URL- The URL for the WSDL- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, boolean limitMemory, int memoryType) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Parameters:
wsdlURL-limitMemory- true if memory should be limited- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
Deprecated.use a constructor with a ConfigurationContext or limitMemory parameter- Parameters:
wsdlURL-catalogManager-- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext, JAXWSCatalogManager catalogManager) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundExceptionUnknownHostExceptionConnectExceptionIOExceptionjavax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition) throws javax.wsdl.WSDLException
Deprecated.Use a constructor that has a ConfigContext or memoryLimit parameterConstructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDL- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext) throws javax.wsdl.WSDLException
Constructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDLConfigurationContext-- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType) throws javax.wsdl.WSDLException
Constructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDLlimitMemory- boolean- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws javax.wsdl.WSDLException
Constructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDLJAXWSCatalogManager- Catalog Manager to use for locating external resources- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager) throws javax.wsdl.WSDLException
Deprecated.Use a constructor with a ConfigurationContext or memory limit settingConstructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDLJAXWSCatalogManager- Catalog Manager to use for locating external resources- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager) throws javax.wsdl.WSDLException
Constructor- Parameters:
URL- The URL for the WSDLDefinition- Definition for the WSDLConfigurationContext- to get parameters for WSDL buildingJAXWSCatalogManager- Catalog Manager to use for locating external resources- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition) throws javax.wsdl.WSDLExceptionDeprecated.Use WSDL4JWrapper(Definition,ConfigurationContext)Constructor- Parameters:
Definition- Definition for the WSDL- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType) throws javax.wsdl.WSDLExceptionConstructor- Parameters:
Definition- Definition for the WSDL- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext) throws javax.wsdl.WSDLExceptionConstructor- Parameters:
Definition- Definition for the WSDLConfigurationContext-- Throws:
javax.wsdl.WSDLException
-
-
Method Detail
-
getDefinition
public javax.wsdl.Definition getDefinition()
- Specified by:
getDefinitionin interfaceWSDLWrapper
-
getUnwrappedDefinition
public javax.wsdl.Definition getUnwrappedDefinition()
- Specified by:
getUnwrappedDefinitionin interfaceWSDLWrapper
-
loadDefinition
public javax.wsdl.Definition loadDefinition()
-
getFirstPortBinding
public javax.wsdl.Binding getFirstPortBinding(QName serviceQname)
- Specified by:
getFirstPortBindingin interfaceWSDLWrapper
-
getOperationName
public String getOperationName(QName serviceQname, QName portQname)
- Specified by:
getOperationNamein interfaceWSDLWrapper
-
getPortBinding
public ArrayList getPortBinding(QName serviceQname)
- Specified by:
getPortBindingin interfaceWSDLWrapper
-
getPortBinding
public String getPortBinding(QName serviceQname, QName portQname)
- Specified by:
getPortBindingin interfaceWSDLWrapper
-
getPorts
public String[] getPorts(QName serviceQname)
- Specified by:
getPortsin interfaceWSDLWrapper
-
getService
public javax.wsdl.Service getService(QName serviceQname)
- Specified by:
getServicein interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname)
- Specified by:
getSOAPActionin interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname, QName portQname)
- Specified by:
getSOAPActionin interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname, QName portQname, QName operationQname)
- Specified by:
getSOAPActionin interfaceWSDLWrapper
-
getWSDLLocation
public URL getWSDLLocation()
- Specified by:
getWSDLLocationin interfaceWSDLWrapper
-
getTargetNamespace
public String getTargetNamespace()
- Specified by:
getTargetNamespacein interfaceWSDLWrapper
-
-