Deprecated API


Contents
Deprecated Classes
org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver
          no longer needed, going away after 1.3 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver
          use AbstractInOutMessageReceiver 
org.apache.axis2.receivers.AbstractRobustInMessageReceiver
          not needed, since in-only MessageReceivers can throw faults 
org.apache.axis2.engine.AddressingBasedDispatcher
          use org.apache.axis2.dispatchers.AddressingBasedDispatcher 
org.apache.axis2.client.async.AsyncResult
          please see org.apache.axis2.client.async.AxisCallback. 
org.apache.axis2.util.Base64
            
org.apache.axis2.client.async.Callback
          Please use AxisCallback instead, this class is deprecated as of 1.3 
org.apache.axis2.jaxws.util.ClassLoaderUtils
          - Security Risk. Please don't use this class, As a general rule end user code should not be able to access AccessController.doPrivileged 
org.apache.axis2.rpc.receivers.ejb.EJBInOutAsyncMessageReceiver
          you can just use EJBMessageReceiver 
org.apache.axis2.engine.HTTPLocationBasedDispatcher
          use org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher 
org.apache.axis2.transport.http.HttpTransportProperties.MailProperties
          org.apache.axis2.transport.http.HttpTransportProperties.MailProperties has been deprecated and user are encourage the use of java.util.Properties instead. 
org.apache.axis2.engine.InstanceDispatcher
          The functionality of this class has moved into the DispatchPhase postconditions 
org.apache.axis2.receivers.RawXMLINOutAsyncMessageReceiver
          use RawXMLINOutMessageReceiver and the DO_ASYNC property instead.... 
org.apache.axis2.engine.RequestURIBasedDispatcher
          use org.apache.axis2.dispatchers.RequestURIBasedDispatcher 
org.apache.axis2.engine.RequestURIOperationDispatcher
          use org.apache.axis2.dispatchers.RequestURIOperationDispatcher 
org.apache.axis2.engine.SOAPActionBasedDispatcher
          use org.apache.axis2.dispatchers.SOAPActionBasedDispatcher 
javax.xml.soap.SOAPElementFactory
          - Use javax.xml.soap.SOAPFactory for creating SOAPElements. 
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher
          use org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher 
org.apache.axis2.transport.http.util.SOAPUtil
          Since we are not using this class and this might lead to mis-use of this class, we will removing this class in a future release. 
org.apache.axis2.util.UUIDGenerator
            
 

Deprecated Annotation Types
javax.jws.soap.InitParam
           
javax.jws.soap.SOAPMessageHandler
           
javax.jws.soap.SOAPMessageHandlers
           
 

Deprecated Fields
org.apache.axis2.context.MessageContextConstants.CHUNKED
          please use org.apache.axis2.transport.http.HTTPConstants.CHUNKED * 
org.apache.axis2.transport.http.HTTPConstants.CONTENT_TYPE
          Please use Constants.Configuration.CONTENT_TYPE 
org.apache.axis2.Constants.COOKIE_STRING
          Please use org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING 
org.apache.axis2.Constants.Configuration.DISABLE_ADDRESSING_FOR_OUT_MESSAGES
          please use org.apache.axis2.addressing.AddressingConstants.DISABLE_ADDRESSING_FOR_OUT_MESSAGES 
org.apache.axis2.context.MessageContextConstants.HTTP_PROTOCOL_VERSION
          please use org.apache.axis2.transport.http.HTTPConstants.HTTP_PROTOCOL_VERSION * 
org.apache.axis2.Constants.HTTP_SERVLET_REQUEST
          Please use org.apache.axis2.transport.http.HTTPConstants.MC_HTTP_SERVLETREQUEST 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_IN_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_IN_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_IN_OPTIONAL_OUT
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OPTIONAL_OUT 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_IN_OPTIONAL_OUT
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OPTIONAL_OUT 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_IN_OUT
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OUT 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_IN_OUT
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OUT 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_OUT_IN
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_IN 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_OUT_IN
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_IN 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_OUT_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_OUT_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_OUT_OPTIONAL_IN
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_OPTIONAL_IN 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_OUT_OPTIONAL_IN
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_OPTIONAL_IN 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_ROBUST_IN_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_IN_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_ROBUST_IN_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_IN_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants.MEP_URI_ROBUST_OUT_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_OUT_ONLY 
org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants.MEP_URI_ROBUST_OUT_ONLY
          Please use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_OUT_ONLY 
org.apache.axis2.transport.http.HTTPConstants.MTOM_RECEIVED_CONTENT_TYPE
            
org.apache.axis2.transport.http.HTTPConstants.MUTTITHREAD_HTTP_CONNECTION_MANAGER
          please use MULTITHREAD_HTTP_CONNECTION_MANAGER 
org.apache.axis2.Constants.SERVLET_CONTEXT
          Please use org.apache.axis2.transport.http.HTTPConstants.MC_HTTP_SERVLETCONTEXT 
org.apache.axis2.context.MessageContextConstants.TRANSPORT_URL
          please use org.apache.axis2.Constants.Configuration.TRANSPORT_URL * 
org.apache.axis2.namespace.Constants.URI_SOAP12_NEXT_ACTOR
          use URI_SOAP12_NEXT_ROLE 
org.apache.axis2.addressing.AddressingConstants.Final.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE
          use AddressingConstants.Final.WSA_DEFAULT_RELATIONSHIP_TYPE instead. 
org.apache.axis2.addressing.AddressingConstants.Submission.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE
          use AddressingConstants.Submission.WSA_DEFAULT_RELATIONSHIP_TYPE instead. 
 

Deprecated Methods
org.apache.axis2.description.PolicyInclude.addPolicyElement(int, Policy)
          As of 1.4 release, replaced by #attachPolicy(Policy) 
org.apache.axis2.description.PolicyInclude.addPolicyRefElement(int, PolicyReference)
          As of 1.4 release, replaced by #attachPolicyReference(PolicyReference) 
org.apache.axis2.client.Options.addReferenceParameter(OMElement)
            
org.apache.axis2.description.AxisServiceGroup.addToGroup(AxisService)
          please use addService() instead 
org.apache.axis2.wsdl.codegen.writer.WSDL11Writer.adjustWSDLSchemaLocatins(Definition, Map)
          please use adjustWSDLSchemaLocations 
org.apache.axis2.engine.Handler.cleanup()
          This method will be going away after the 1.3 release, it was never used. 
javax.xml.soap.SOAPElementFactory.create(Name)
          Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) instead 
javax.xml.soap.SOAPElementFactory.create(String)
          Use javax.xml.soap.SOAPFactory.createElement(String localName) instead 
javax.xml.soap.SOAPElementFactory.create(String, String, String)
          Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) instead 
org.apache.axis2.transport.http.HTTPTransportUtils.createEnvelopeFromGetRequest(String, Map, ConfigurationContext)
          This was used only by the now deprecated processHTTPGetRequest() method. 
org.apache.axis2.engine.AxisEngine.createFaultMessageContext(MessageContext, Throwable)
          (post 1.1 branch) 
org.apache.axis2.util.Utils.createOutMessageContext(MessageContext)
          (post1.1branch) 
org.apache.axis2.jaxws.description.builder.WebServiceRefAnnot.createWebServiceRefAnnotImpl(String, String, Class, Class, String, String, String)
          The String values for type and value should not be used. Use WebServiceRefAnnot.createWebServiceRefAnnotImpl(String, String, Class, Class, String) There shouldn't be both a class and String for type and value; there isn't on the actual annotation. 
org.apache.axis2.client.ServiceClient.disengageModule(QName)
          Please use String version instead 
org.apache.axis2.client.ServiceClient.engageModule(QName)
          Please use String version instead 
org.apache.axis2.engine.AxisConfiguration.engageModule(QName)
          Please use the String version instead 
org.apache.axis2.addressing.EndpointReference.fromOM(OMElement)
          use EndpointReferenceHelper.fromOM(OMElement) instead. 
org.apache.axis2.addressing.EndpointReferenceHelper.fromOM(String)
          use EndpointReferenceHelper.fromString(String) instead. 
org.apache.axis2.description.PolicyInclude.getAttachedPolicies()
          As of 1.4 release, replaced by #getAttachedPolicyComponents() 
org.apache.axis2.builder.BuilderUtil.getBuilder(Reader)
          If some one really need this method, please shout. 
org.apache.axis2.description.PolicyInclude.getEffectivePolicy()
          As of 1.4 release. Use #getEffectivePolicy() or #getEffectivePolicy() when applicable. 
org.apache.axis2.schema.BeanWriterMetaInfoHolder.getElementQNameIterator()
          Use #getQNameArray 
org.apache.axis2.transport.TransportListener.getEPRForService(String, String)
          Transport listener can expose more than EPRs. So this method should return an array of EPRs. Deprecating this method for now and please use getEPRsForServices instead. 
org.apache.axis2.engine.AxisConfiguration.getGlobalModules()
          please use addGlobalModule() 
org.apache.axis2.jaxws.message.databinding.JAXBUtils.getJAXBContext(TreeSet)
            
org.apache.axis2.jaxws.message.databinding.JAXBUtils.getJAXBContext(TreeSet, ClassLoader)
            
org.apache.axis2.description.AxisService.getLastupdate()
          please use getLastUpdate 
org.apache.axis2.addressing.EndpointReference.getName()
            
org.apache.axis2.description.AxisService.getNameSpacesMap()
          please use getNamespaceMap() 
org.apache.axis2.description.PolicyInclude.getPolicy()
          As of 1.4 release. If you need to calculate merged policy of all policies that are in the policy cache of AxisDescription, use #getAttachedPolicyComponents() and {@link org.PolicyUtil #getMergedPolicy(List, AxisDescription)} 
org.apache.axis2.description.PolicyInclude.getPolicy(String)
          As of 1.4 release, replaced by #getAttachedPolicyComponent(String) 
org.apache.axis2.description.PolicyInclude.getPolicyElements()
          As of 1.4 release, replaced by #getAttachedPolicyComponents() 
org.apache.axis2.description.PolicyInclude.getPolicyElements(int)
          As of 1.4 release. The policy element type is no longer required since we maintain a complete binding description hierarchy for the static description the service. Hence use #getAttachedPolicyComponents() on appropriate description object. 
org.apache.axis2.description.AxisDescription.getPolicyInclude()
          As of release 1.4, replaced by AxisDescription.getPolicySubject() 
org.apache.axis2.description.AxisService.getPortTypeName()
          use AxisService#getEndpointName() instead. 
org.apache.axis2.context.AbstractContext.getProperties()
          Use AbstractContext.getPropertyNames(), AbstractContext.getProperty(String), AbstractContext.setProperty(String, Object) & AbstractContext.removeProperty(String)instead. 
org.apache.axis2.description.AxisService.getSchematargetNamespace()
          please use getSchemaTargetNamespace 
org.apache.axis2.description.AxisService.getServiceDescription()
          Use getDocumentation() instead 
org.apache.axis2.context.ConfigurationContext.getServiceGroupContexts()
          Use ConfigurationContext.getServiceGroupContextIDs() & ConfigurationContext.getServiceGroupContext(String) 
org.apache.axis2.deployment.repository.util.DeploymentFileData.getServiceName()
          please use getName() instead - this will disappear after 1.3. 
org.apache.axis2.jaxws.description.builder.WebServiceRefAnnot.getTypeString()
          Use WebServiceRefAnnot.type() 
org.apache.axis2.databinding.utils.BeanUtil.getUniquePrifix()
          Please use getUniquePrefix 
org.apache.axis2.jaxws.description.builder.WebServiceRefAnnot.getValueString()
          Use WebServiceRefAnnot.value() 
org.apache.axis2.description.AxisService.getWSAddressingFlag()
          Use AddressingHelper.getAddressingRequirementParemeterValue 
org.apache.axis2.wsdl.codegen.CodeGenConfiguration.getXsdConfigFile()
            
org.apache.axis2.engine.DependencyManager.initServiceClass(Object, ServiceContext)
          please use initServiceObject() 
org.apache.axis2.rpc.client.RPCServiceClient.invokeNonBlocking(QName, Object[], Callback)
          Please use the AxisCallback interface rather than Callback, which has been deprecated 
org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite.isDeprecatedServiceProviderConstruction()
            
org.apache.axis2.engine.AxisConfiguration.isEngaged(QName)
          Use AxisConfiguration.isEngaged(String) 
org.apache.axis2.util.Utils.isExplicitlyTrue(MessageContext, String)
          please use MessageContext.isTrue(propertyName) instead 
org.apache.axis2.context.MessageContext.isHeaderPresent()
          The bonus you used to get from this is now built in to SOAPEnvelope.getHeader() 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPGetRequest(MessageContext, OutputStream, String, String, ConfigurationContext, Map)
          use RESTUtil.processURLRequest(MessageContext msgContext, OutputStream out, String contentType) instead 
org.apache.axis2.description.PolicyInclude.registerPolicy(String, Policy)
          As of 1.4 release. Use ServiceData.xml or Axis2 DataLocators to configure policies that are stored separately. 
org.apache.axis2.description.PolicyInclude.removeAllPolicyElements()
          As of 1.4 release, replaced by #clear() 
org.apache.axis2.description.AxisOperation.removeFromEngagedModuleList(AxisModule)
          please use disengageModule(), this method will disappear after 1.3 
org.apache.axis2.engine.AxisConfiguration.removeModule(String)
          Use AxisConfiguration.removeModule(String,String) 
org.apache.axis2.description.PolicyInclude.removePolicyElement(String)
          As of 1.4 release, replaced by #detachPolicyComponent(String) 
org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(OMElement, Callback)
          Please use the AxisCallback interface rather than Callback, which has been deprecated 
org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(QName, OMElement, Callback)
          Please use the AxisCallback interface rather than Callback, which has been deprecated 
org.apache.axis2.client.ServiceClient.setCachingOperationContext(boolean)
            
org.apache.axis2.client.OperationClient.setCallback(Callback)
          Please use the AxisCallback interface rather than Callback, which has been deprecated 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCustomWSLD4JResolver(WSDLLocator)
            
org.apache.axis2.description.PolicyInclude.setEffectivePolicy(Policy)
          As of 1.4 release. You can't override a policies that applicable for the current policy scope via #setEffectivePolicy(Policy). In case you need to make a policy the only policy that is within the policy cache of an AxisDescription please use #clear() and #attachPolicy(Policy) accordingly. 
org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite.setIsDeprecatedServiceProviderConstruction(boolean)
            
org.apache.axis2.description.AxisService.setLastupdate()
          please use setLastUpdate 
org.apache.axis2.addressing.EndpointReference.setName(String)
            
org.apache.axis2.description.AxisService.setNameSpacesMap(NamespaceMap)
          please use setNamespaceMap 
org.apache.axis2.description.PolicyInclude.setPolicy(Policy)
          As of 1.4 release, replaced by #attachPolicy(Policy) Use #clear() beforehand effective policy of AxisDescription has to be set as the argument. 
org.apache.axis2.description.AxisDescription.setPolicyInclude(PolicyInclude)
          As of release 1.4, if you want to access the policy cache of a particular AxisDescription object use instead. 
org.apache.axis2.description.AxisService.setPortTypeName(String)
          use AxisService#setEndpointName() instead 
org.apache.axis2.description.AxisService.setSchematargetNamespacePrefix(String)
          please use setSchemaTargetNamespacePrefix 
org.apache.axis2.databinding.types.Duration.setSeconds(int)
          use setSeconds(double) instead 
org.apache.axis2.description.AxisService.setServiceDescription(String)
          Use setDocumentation() instead 
org.apache.axis2.client.Options.setTransportInfo(String, String, boolean)
          Use setTransportInProtocol(String) and useSeparateListener(boolean) instead. You do not need to setSenderTransportProtocol(String) as sender transport can be inferred from the to EPR. But still you can setTransportOut(TransportOutDescription). 
org.apache.axis2.jaxws.description.builder.WebServiceRefAnnot.setTypeString(String)
          Use WebServiceRefAnnot.setType(Class) 
org.apache.axis2.jaxws.description.builder.WebServiceRefAnnot.setValueString(String)
          WebServiceRefAnnot.setValue(Class) 
org.apache.axis2.description.AxisService.setWSAddressingFlag(String)
          Use AddressingHelper.setAddressingRequirementParemeterValue 
org.apache.axis2.wsdl.codegen.CodeGenConfiguration.setXsdConfigFile(String)
            
org.apache.axis2.addressing.EndpointReference.toOM(String, String, String)
          use EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead. 
org.apache.axis2.description.PolicyInclude.updatePolicy(Policy)
          As of 1.4 release, replaced by #updatePolicy(Policy). 
 

Deprecated Constructors
org.apache.axis2.jaxws.message.databinding.JAXBBlockContext(String)
            
org.apache.axis2.datasource.jaxb.JAXBDSContext(String)
            
org.apache.axis2.jaxws.util.WSDL4JWrapper(Definition)
          Use WSDL4JWrapper(Definition,ConfigurationContext) 
org.apache.axis2.jaxws.util.WSDL4JWrapper(URL)
          Use a constructor that passes in the ConfigContext, or memoryLimit parameter 
org.apache.axis2.jaxws.util.WSDL4JWrapper(URL, Definition)
          Use a constructor that has a ConfigContext or memoryLimit parameter 
org.apache.axis2.jaxws.util.WSDL4JWrapper(URL, Definition, JAXWSCatalogManager)
          Use a constructor with a ConfigurationContext or memory limit setting 
org.apache.axis2.jaxws.util.WSDL4JWrapper(URL, JAXWSCatalogManager)
          use a constructor with a ConfigurationContext or limitMemory parameter 
org.apache.axis2.wsdl.util.WSDLDefinitionWrapper(Definition)
          because this constructor does not provide any guidance for memory usage 
org.apache.axis2.wsdl.util.WSDLDefinitionWrapper(Definition, URL)
          use a constructor with a AxisConfiguration or memory limit parameter 
 

Deprecated Annotation Type Elements
javax.jws.HandlerChain.name
           
 



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