Deprecated API
Contents
-
Deprecated ClassesClassDescriptionuse org.apache.axis2.dispatchers.AddressingBasedDispatcheruse org.apache.axis2.dispatchers.HTTPLocationBasedDispatcherThe functionality of this class has moved into the DispatchPhase postconditionsuse org.apache.axis2.dispatchers.RequestURIBasedDispatcheruse org.apache.axis2.dispatchers.RequestURIOperationDispatcheruse org.apache.axis2.dispatchers.SOAPActionBasedDispatcheruse org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcherno longer needed, going away after 1.3use AbstractInOutMessageReceivernot needed, since in-only MessageReceivers can throw faultsuse RawXMLINOutMessageReceiver and the DO_ASYNC property instead....
-
Deprecated FieldsFieldDescriptionorg.apache.axis2.addressing.AddressingConstants.Final.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUEMISSPELLINGplease use org.apache.axis2.addressing.AddressingConstants.DISABLE_ADDRESSING_FOR_OUT_MESSAGESPlease use org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRINGPlease use org.apache.axis2.transport.http.HTTPConstants.MC_HTTP_SERVLETREQUESTPlease use org.apache.axis2.transport.http.HTTPConstants.MC_HTTP_SERVLETCONTEXTplease use org.apache.axis2.transport.http.HTTPConstants.CHUNKED *please use org.apache.axis2.transport.http.HTTPConstants.HTTP_PROTOCOL_VERSION *please use org.apache.axis2.Constants.Configuration.TRANSPORT_URL *Please use DIALECT instead. todo: delete me after 1.5use URI_SOAP12_NEXT_ROLEPlease use Constants.Configuration.CONTENT_TYPEplease use MULTITHREAD_HTTP_CONNECTION_MANAGERPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OPTIONAL_OUTPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OUTPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_INPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_OPTIONAL_INPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_IN_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_OUT_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OPTIONAL_OUTPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_IN_OUTPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_INPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_OUT_OPTIONAL_INPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_IN_ONLYPlease use org.apache.axis2.description.WSDL2Constants.MEP_URI_ROBUST_OUT_ONLY
-
Deprecated MethodsMethodDescriptionuse
EndpointReferenceHelper.fromOM(OMElement)instead.useinstead.invalid reference
EndpointReferenceHelper#toOM(EndpointReference, QName, String)useEndpointReferenceHelper.fromString(String)instead.If some one really need this method, please shout.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).Please use String version insteadPlease use String version insteadMISSPELLING - Please use getServiceGroupContextTimeoutInterval()The bonus you used to get from this is now built in to SOAPEnvelope.getHeader()please use getName() instead - this will disappear after 1.3.As of release 1.4, replaced byAxisDescription.getPolicySubject()As of release 1.4, if you want to access the policy cache of a particular AxisDescription object useAxisDescription.getPolicySubject()instead.please use disengageModule(), this method will disappear after 1.3please use getLastUpdateplease use getNamespaceMap()use AxisService#getEndpointName() instead.please use getSchemaTargetNamespaceUse getDocumentation() insteadUse AddressingHelper.getAddressingRequirementParemeterValueplease use setLastUpdateplease use setNamespaceMapuse AxisService#setEndpointName() insteadplease use setSchemaTargetNamespacePrefixUse setDocumentation() insteadUse AddressingHelper.setAddressingRequirementParemeterValueplease use addService() insteadAs of 1.4 release, replaced by#attachPolicy(Policy)As of 1.4 release, replaced by#attachPolicyReference(PolicyReference)As of 1.4 release, replaced by#getAttachedPolicyComponents()As of 1.4 release. Use#getEffectivePolicy()or#getEffectivePolicy()when applicable.As of 1.4 release. If you need to calculate merged policy of all policies that are in the policy cache ofAxisDescription, use#getAttachedPolicyComponents() and #getMergedPolicy(List, AxisDescription)As of 1.4 release, replaced by#getAttachedPolicyComponent(String)As of 1.4 release, replaced by#getAttachedPolicyComponents()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.As of 1.4 release. Use ServiceData.xml or Axis2 DataLocators to configure policies that are stored separately.As of 1.4 release, replaced by#clear()As of 1.4 release, replaced by#detachPolicyComponent(String)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 anAxisDescriptionplease use#clear()and#attachPolicy(Policy)accordingly.As of 1.4 release, replaced by#attachPolicy(Policy)Use#clear()beforehand effective policy ofAxisDescriptionhas to be set as the argument.As of 1.4 release, replaced by#updatePolicy(Policy).Please use the String version insteadplease use addGlobalModule()(post 1.1 branch)please use initServiceObject()This method will be going away after the 1.3 release, it was never used.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.(post1.1branch)please use MessageContext.isTrue(propertyName) instead
-
Deprecated ConstructorsConstructorDescriptionbecause this constructor does not provide any guidance for memory usageuse a constructor with a AxisConfiguration or memory limit parameter