Deprecated API

Deprecated Fields
org.apache.axis2.context.MessageContextConstants.CHUNKED
          please use org.apache.axis2.transport.http.HTTPConstants.CHUNKED 
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.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.Submission.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE
          use AddressingConstants.Submission.WSA_DEFAULT_RELATIONSHIP_TYPE instead. 
org.apache.axis2.addressing.AddressingConstants.Final.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE
          use AddressingConstants.Final.WSA_DEFAULT_RELATIONSHIP_TYPE instead. 
 

Deprecated Methods
org.apache.axis2.client.Options.addReferenceParameter(OMElement)
            
org.apache.axis2.addressing.EndpointReference.fromOM(OMElement)
          use EndpointReferenceHelper.fromOM(OMElement) instead. 
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.databinding.utils.BeanUtil.getUniquePrifix()
          Please use getUniquePrefix 
org.apache.axis2.description.AxisService.printWSDL(OutputStream, String)
          try to use the method which takes three arguments 
org.apache.axis2.addressing.EndpointReference.setName(String)
            
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 org.apache.axis2.addressing.EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead.