org.apache.axis2.jaxws.util
Class WSDL4JWrapper

java.lang.Object
  extended by org.apache.axis2.jaxws.util.WSDL4JWrapper
All Implemented Interfaces:
WSDLWrapper

public class WSDL4JWrapper
extends java.lang.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
WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition)
          Deprecated. Use WSDL4JWrapper(Definition,ConfigurationContext)
WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType)
          Constructor
WSDL4JWrapper(javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext)
          Constructor
WSDL4JWrapper(java.net.URL wsdlURL)
          Deprecated. Use a constructor that passes in the ConfigContext, or memoryLimit parameter
WSDL4JWrapper(java.net.URL wsdlURL, boolean limitMemory, int memoryType)
           
WSDL4JWrapper(java.net.URL wsdlURL, ConfigurationContext configContext)
           
WSDL4JWrapper(java.net.URL wsdlURL, ConfigurationContext configContext, JAXWSCatalogManager catalogManager)
           
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition)
          Deprecated. Use a constructor that has a ConfigContext or memoryLimit parameter
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition, boolean limitMemory, int memoryType)
          Constructor
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext)
          Constructor
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager)
          Constructor
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager)
          Deprecated. Use a constructor with a ConfigurationContext or memory limit setting
WSDL4JWrapper(java.net.URL wsdlURL, javax.wsdl.Definition wsdlDefinition, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType)
          Constructor
WSDL4JWrapper(java.net.URL wsdlURL, JAXWSCatalogManager catalogManager)
          Deprecated. use a constructor with a ConfigurationContext or limitMemory parameter
WSDL4JWrapper(java.net.URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory)
           
WSDL4JWrapper(java.net.URL wsdlURL, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType)
           
 
Method Summary
 javax.wsdl.Definition getDefinition()
           
 javax.wsdl.Binding getFirstPortBinding(QName serviceQname)
           
 java.lang.String getOperationName(QName serviceQname, QName portQname)
           
 java.util.ArrayList getPortBinding(QName serviceQname)
           
 java.lang.String getPortBinding(QName serviceQname, QName portQname)
           
 java.lang.String[] getPorts(QName serviceQname)
           
 javax.wsdl.Service getService(QName serviceQname)
           
 java.lang.String getSOAPAction(QName serviceQname)
           
 java.lang.String getSOAPAction(QName serviceQname, QName portQname)
           
 java.lang.String getSOAPAction(QName serviceQname, QName portQname, QName operationQname)
           
 java.lang.String getTargetNamespace()
           
 javax.wsdl.Definition getUnwrappedDefinition()
           
 java.net.URL getWSDLLocation()
           
 javax.wsdl.Definition loadDefinition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Deprecated. Use a constructor that passes in the ConfigContext, or memoryLimit parameter

Constructor

Parameters:
URL - The URL for the WSDL
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     boolean limitMemory,
                     int memoryType)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Parameters:
wsdlURL -
limitMemory - true if memory should be limited
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     JAXWSCatalogManager catalogManager)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Deprecated. use a constructor with a ConfigurationContext or limitMemory parameter

Parameters:
wsdlURL -
catalogManager -
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     JAXWSCatalogManager catalogManager,
                     boolean limitMemory)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     JAXWSCatalogManager catalogManager,
                     boolean limitMemory,
                     int memoryType)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     ConfigurationContext configContext,
                     JAXWSCatalogManager catalogManager)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     ConfigurationContext configContext)
              throws java.io.FileNotFoundException,
                     java.net.UnknownHostException,
                     java.net.ConnectException,
                     java.io.IOException,
                     javax.wsdl.WSDLException
Throws:
java.io.FileNotFoundException
java.net.UnknownHostException
java.net.ConnectException
java.io.IOException
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition)
              throws javax.wsdl.WSDLException
Deprecated. Use a constructor that has a ConfigContext or memoryLimit parameter

Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
Throws:
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition,
                     ConfigurationContext configContext)
              throws javax.wsdl.WSDLException
Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
ConfigurationContext -
Throws:
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition,
                     boolean limitMemory,
                     int memoryType)
              throws javax.wsdl.WSDLException
Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
limitMemory - boolean
Throws:
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition,
                     JAXWSCatalogManager catalogManager,
                     boolean limitMemory,
                     int memoryType)
              throws javax.wsdl.WSDLException
Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
JAXWSCatalogManager - Catalog Manager to use for locating external resources
Throws:
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition,
                     JAXWSCatalogManager catalogManager)
              throws javax.wsdl.WSDLException
Deprecated. Use a constructor with a ConfigurationContext or memory limit setting

Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
JAXWSCatalogManager - Catalog Manager to use for locating external resources
Throws:
javax.wsdl.WSDLException

WSDL4JWrapper

public WSDL4JWrapper(java.net.URL wsdlURL,
                     javax.wsdl.Definition wsdlDefinition,
                     ConfigurationContext configContext,
                     JAXWSCatalogManager catalogManager)
              throws javax.wsdl.WSDLException
Constructor

Parameters:
URL - The URL for the WSDL
Definition - Definition for the WSDL
ConfigurationContext - to get parameters for WSDL building
JAXWSCatalogManager - 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 WSDL
ConfigurationContext -
Throws:
javax.wsdl.WSDLException
Method Detail

getDefinition

public javax.wsdl.Definition getDefinition()
Specified by:
getDefinition in interface WSDLWrapper

getUnwrappedDefinition

public javax.wsdl.Definition getUnwrappedDefinition()
Specified by:
getUnwrappedDefinition in interface WSDLWrapper

loadDefinition

public javax.wsdl.Definition loadDefinition()

getFirstPortBinding

public javax.wsdl.Binding getFirstPortBinding(QName serviceQname)
Specified by:
getFirstPortBinding in interface WSDLWrapper

getOperationName

public java.lang.String getOperationName(QName serviceQname,
                                         QName portQname)
Specified by:
getOperationName in interface WSDLWrapper

getPortBinding

public java.util.ArrayList getPortBinding(QName serviceQname)
Specified by:
getPortBinding in interface WSDLWrapper

getPortBinding

public java.lang.String getPortBinding(QName serviceQname,
                                       QName portQname)
Specified by:
getPortBinding in interface WSDLWrapper

getPorts

public java.lang.String[] getPorts(QName serviceQname)
Specified by:
getPorts in interface WSDLWrapper

getService

public javax.wsdl.Service getService(QName serviceQname)
Specified by:
getService in interface WSDLWrapper

getSOAPAction

public java.lang.String getSOAPAction(QName serviceQname)
Specified by:
getSOAPAction in interface WSDLWrapper

getSOAPAction

public java.lang.String getSOAPAction(QName serviceQname,
                                      QName portQname)
Specified by:
getSOAPAction in interface WSDLWrapper

getSOAPAction

public java.lang.String getSOAPAction(QName serviceQname,
                                      QName portQname,
                                      QName operationQname)
Specified by:
getSOAPAction in interface WSDLWrapper

getWSDLLocation

public java.net.URL getWSDLLocation()
Specified by:
getWSDLLocation in interface WSDLWrapper

getTargetNamespace

public java.lang.String getTargetNamespace()
Specified by:
getTargetNamespace in interface WSDLWrapper


Copyright © 2007 Apache Web Services Project. All Rights Reserved.