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.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.addressing.ServiceName
          I don't think this class is used anywhere. Shout if this is not the case. Class ServiceName 
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.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.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.DescriptionFactory.createServiceDescriptionFromServiceImpl(Class, AxisService)
          Use DescriptionFactory.createServiceDescriptionFromDBCMap(HashMap) 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromServiceImpl(Class, AxisService)
            
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.builder.BuilderUtil.getBuilder(Reader)
          If some one really need this method, please shout. 
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.addressing.EndpointReference.getName()
            
org.apache.axis2.description.AxisService.getNameSpacesMap()
          please use getNamespaceMap() 
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.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.databinding.utils.BeanUtil.getUniquePrifix()
          Please use getUniquePrefix 
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.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.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.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.addressing.EndpointReference.setName(String)
            
org.apache.axis2.description.AxisService.setPortTypeName(String)
          use AxisService#setEndpointName() instead 
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.wsdl.codegen.CodeGenConfiguration.setXsdConfigFile(String)
            
org.apache.axis2.addressing.EndpointReference.toOM(String, String, String)
          use EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead. 
 

Deprecated Constructors
org.apache.axis2.jaxws.message.databinding.JAXBBlockContext(String)
            
 

Deprecated Annotation Type Elements
javax.jws.HandlerChain.name
           
 



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