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.Definition
getDefinition()
javax.wsdl.Binding
getFirstPortBinding(QName serviceQname)
String
getOperationName(QName serviceQname, QName portQname)
ArrayList
getPortBinding(QName serviceQname)
String
getPortBinding(QName serviceQname, QName portQname)
String[]
getPorts(QName serviceQname)
javax.wsdl.Service
getService(QName serviceQname)
String
getSOAPAction(QName serviceQname)
String
getSOAPAction(QName serviceQname, QName portQname)
String
getSOAPAction(QName serviceQname, QName portQname, QName operationQname)
String
getTargetNamespace()
javax.wsdl.Definition
getUnwrappedDefinition()
URL
getWSDLLocation()
javax.wsdl.Definition
loadDefinition()
-
-
-
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:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.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:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.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:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext, JAXWSCatalogManager catalogManager) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(URL wsdlURL, ConfigurationContext configContext) throws FileNotFoundException, UnknownHostException, ConnectException, IOException, javax.wsdl.WSDLException
- Throws:
FileNotFoundException
UnknownHostException
ConnectException
IOException
javax.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.WSDLException
Deprecated.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.WSDLException
Constructor- Parameters:
Definition
- Definition for the WSDL- Throws:
javax.wsdl.WSDLException
-
WSDL4JWrapper
public WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext) throws javax.wsdl.WSDLException
Constructor- Parameters:
Definition
- Definition for the WSDLConfigurationContext
-- Throws:
javax.wsdl.WSDLException
-
-
Method Detail
-
getDefinition
public javax.wsdl.Definition getDefinition()
- Specified by:
getDefinition
in interfaceWSDLWrapper
-
getUnwrappedDefinition
public javax.wsdl.Definition getUnwrappedDefinition()
- Specified by:
getUnwrappedDefinition
in interfaceWSDLWrapper
-
loadDefinition
public javax.wsdl.Definition loadDefinition()
-
getFirstPortBinding
public javax.wsdl.Binding getFirstPortBinding(QName serviceQname)
- Specified by:
getFirstPortBinding
in interfaceWSDLWrapper
-
getOperationName
public String getOperationName(QName serviceQname, QName portQname)
- Specified by:
getOperationName
in interfaceWSDLWrapper
-
getPortBinding
public ArrayList getPortBinding(QName serviceQname)
- Specified by:
getPortBinding
in interfaceWSDLWrapper
-
getPortBinding
public String getPortBinding(QName serviceQname, QName portQname)
- Specified by:
getPortBinding
in interfaceWSDLWrapper
-
getPorts
public String[] getPorts(QName serviceQname)
- Specified by:
getPorts
in interfaceWSDLWrapper
-
getService
public javax.wsdl.Service getService(QName serviceQname)
- Specified by:
getService
in interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname)
- Specified by:
getSOAPAction
in interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname, QName portQname)
- Specified by:
getSOAPAction
in interfaceWSDLWrapper
-
getSOAPAction
public String getSOAPAction(QName serviceQname, QName portQname, QName operationQname)
- Specified by:
getSOAPAction
in interfaceWSDLWrapper
-
getWSDLLocation
public URL getWSDLLocation()
- Specified by:
getWSDLLocation
in interfaceWSDLWrapper
-
getTargetNamespace
public String getTargetNamespace()
- Specified by:
getTargetNamespace
in interfaceWSDLWrapper
-
-