Deprecated API


Contents
Deprecated Classes
org.apache.axis2.util.Base64
            
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.addressing.ServiceName
          I don't think this class is used anywhere. Shout if this is not the case. Class ServiceName 
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 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.engine.AxisEngine.createFaultMessageContext(MessageContext, Throwable)
          (post 1.1 branch) 
org.apache.axis2.util.Utils.createOutMessageContext(MessageContext)
          (post1.1branch) 
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.addressing.EndpointReference.getName()
            
org.apache.axis2.description.AxisService.getPortTypeName()
          use AxisService#getEndpointName() instead. 
org.apache.axis2.databinding.utils.BeanUtil.getUniquePrifix()
          Please use getUniquePrefix 
org.apache.axis2.context.MessageContext.isHeaderPresent()
          The bonus you used to get from this is now built in to SOAPEnvelope.getHeader() 
org.apache.axis2.description.AxisService.printWSDL(OutputStream, String)
          try to use the method which takes three arguments 
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.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.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.addressing.EndpointReference.toOM(String, String, String)
          use EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead.