Deprecated API


Contents
Deprecated Interfaces
com.sun.xml.ws.api.server.EndpointComponent
          replaced by Component 
com.sun.xml.ws.api.pipe.Fiber.Listener
          Use NextAction.suspend(Runnable) 
com.sun.xml.ws.api.ImpliesWebServiceFeature
          use FeatureListValidatorAnnotation 
com.sun.xml.ws.streaming.MtomStreamWriter
          use org.jvnet.staxex.util.MtomStreamWriter 
com.sun.xml.ws.api.pipe.Pipe
          Use Tube. 
com.sun.xml.wss.impl.callback.SAMLAssertionValidator
          use the new extended SAMLValidator interface An implementation of the extended SAMLValidator interface can throw UnsupportedOperationException for methods defined in this base interface. 
com.sun.xml.ws.wsdl.writer.WSDLResolver
          Use com.oracle.webservices.api.databinding.WSDLResolver directly 
 

Deprecated Classes
com.sun.xml.bind.api.BridgeContext
          The caller no longer needs to use this, as Bridge has methods that can work without BridgeContext. 
com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext
          Use ClientTubeAssemblerContext. 
com.sun.xml.ws.assembler.ClientPipelineHook
          Use ClientPipelineHook instead. 
com.sun.xml.bind.DatatypeConverterImpl
          in JAXB 2.2.4 - use javax.xml.bind.DatatypeConverterImpl instead or let us know why you can't 
com.sun.xml.ws.api.DistributedPropertySet
          Use com.oracle.webservices.api.message.DistributedPropertySet instead. 
com.sun.xml.ws.api.pipe.PipeCloner
          Use TubeCloner. 
com.sun.xml.ws.api.pipe.PipelineAssemblerFactory
          Use TubelineAssemblerFactory instead. 
com.sun.xml.wss.impl.callback.PrefixNamespaceMappingCallback
          : since XWS 2.0 EA 
com.sun.xml.wss.impl.callback.PropertyCallback
          This callback is no longer supported by the XWS-Security runtime, use the XWS-Security configuration file to set the above property values instead. 
com.sun.xml.ws.api.PropertySet
          Use com.oracle.webservices.api.message.PropertySet instead. 
com.sun.xml.ws.api.PropertySet.PropertyMap
            
com.sun.org.apache.xml.internal.resolver.tools.ResolvingParser
          This interface has been replaced by the ResolvingXMLReader for SAX2. 
com.sun.xml.ws.api.pipe.ServerPipeAssemblerContext
          Use ServerTubeAssemblerContext. 
com.sun.xml.ws.transport.tcp.server.glassfish.WSStartupServlet
           
com.sun.xml.ws.util.xml.XMLStreamReaderToXMLStreamWriter
          use org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter 
 

Deprecated Annotation Types
com.sun.xml.bind.annotation.XmlIsSet
          this hasn't been implemented in the RI, and this hasn't been speced yet. I believe Joe asked for this feature. I'd like to drop this. 
 

Deprecated Fields
com.sun.xml.ws.developer.JAXWSProperties.CONTENT_NEGOTIATION_PROPERTY
           
com.sun.xml.bind.marshaller.Messages.ERR_DANGLING_IDREF
          only used from 1.0 
com.sun.xml.bind.marshaller.Messages.ERR_MISSING_OBJECT
          use ERR_MISSING_OBJECT2 
com.sun.xml.bind.marshaller.Messages.ERR_NOT_IDENTIFIABLE
          only used from 1.0 
org.codehaus.stax2.XMLStreamReader2.FEATURE_DTD_OVERRIDE
          Use XMLInputFactory2.P_DTD_OVERRIDE instead. 
com.sun.xml.ws.client.BindingProviderProperties.HOSTNAME_VERIFICATION_PROPERTY
           
com.sun.xml.ws.api.message.Packet.isOneWay
           
com.sun.xml.ws.model.AbstractSEIModelImpl.jaxbContext
            
com.ctc.wstx.api.WstxInputProperties.P_CUSTOM_INTERNAL_ENTITIES
          This feature may be removed from future versions of Woodstox, since the same functionality can be achieved by using custom entity resolvers. 
com.ctc.wstx.api.WstxInputProperties.P_LAZY_PARSING
          As of Woodstox 4.0 use XMLInputFactory2.P_LAZY_PARSING instead (from Stax2 extension API, v3.0) 
com.sun.xml.ws.addressing.WsaServerTube.REQUEST_MESSAGE_ID
          Use JAXWSProperties.ADDRESSING_MESSAGEID. 
com.sun.xml.ws.api.SOAPVersion.saajMessageFactory
            
com.sun.xml.ws.api.SOAPVersion.saajSoapFactory
            
com.sun.xml.bind.DatatypeConverterImpl.theInstance
           
com.sun.xml.bind.v2.WellKnownNamespace.XML_NAMESPACE_URI
          Use javax.xml.XMLConstants.XML_NS_URI instead; 
com.sun.xml.bind.v2.WellKnownNamespace.XML_SCHEMA
          Use javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI instead; 
com.sun.xml.bind.v2.WellKnownNamespace.XML_SCHEMA_INSTANCE
          Use javax.xml.XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI instead 
 

Deprecated Methods
com.sun.xml.ws.api.message.HeaderList.addAll(Header...)
          throws UnsupportedOperationException from some HeaderList implementations - better iterate over items one by one 
com.sun.xml.ws.api.pipe.Fiber.addListener(Fiber.Listener)
            
com.sun.xml.ws.api.addressing.WSEndpointReference.addReferenceParametersToList(HeaderList)
          - use addReferenceParametersToList(MessageHeaders) 
com.sun.xml.ws.api.DistributedPropertySet.addSatellite(Class, PropertySet)
            
com.sun.xml.ws.api.message.Packet.addSatellite(Class, PropertySet)
            
com.sun.xml.ws.api.DistributedPropertySet.addSatellite(PropertySet)
            
com.sun.xml.ws.api.message.Packet.addSatellite(PropertySet)
            
com.sun.xml.ws.client.RequestContext.addSatellite(PropertySet)
            
com.sun.org.apache.xml.internal.resolver.CatalogManager.allowOasisXMLCatalogPI()
          No longer static; use get/set methods. 
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.asElement()
          always return null at this level. 
com.sun.xml.bind.v2.model.impl.ArrayInfoImpl.canBeReferencedByIDREF()
          why are you calling a method whose return value is always known? 
com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogClassName()
          No longer static; use get/set methods. 
com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogFiles()
          No longer static; use get/set methods. 
com.sun.xml.ws.api.DistributedPropertySet.copySatelliteInto(DistributedPropertySet)
            
com.sun.xml.ws.api.message.Packet.copySatelliteInto(DistributedPropertySet)
            
com.sun.xml.ws.api.message.Headers.create(Bridge, Object)
            
com.sun.xml.ws.api.server.WSEndpoint.create(Class, boolean, Invoker, QName, QName, Container, WSBinding, SDDocumentSource, Collection, EntityResolver)
           
com.oracle.webservices.api.message.MessageContextFactory.create(ClassLoader...)
           
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(ClassLoader, BindingID)
          Use TubelineAssemblerFactory.create(ClassLoader, BindingID, Container) 
com.sun.xml.ws.api.pipe.TransportPipeFactory.create(ClassLoader, ClientPipeAssemblerContext)
          Use TransportTubeFactory.create(ClassLoader, ClientTubeAssemblerContext) 
com.sun.xml.ws.api.message.Messages.create(JAXBContext, Object, SOAPVersion)
            
com.sun.xml.ws.message.jaxb.JAXBMessage.create(JAXBContext, Object, SOAPVersion)
            
com.sun.xml.ws.api.message.Messages.create(Marshaller, Object, SOAPVersion)
          Use #create(JAXBRIContext, Object, SOAPVersion) 
com.oracle.webservices.api.message.MessageContextFactory.create(SOAPMessage, ClassLoader...)
           
com.sun.xml.ws.api.message.Headers.create(SOAPVersion, Element)
          Use Headers.create(Element) 
com.sun.xml.ws.api.message.Headers.create(SOAPVersion, Marshaller, Object)
          Use Headers.create(BindingContext, Object) instead. 
com.oracle.webservices.api.message.MessageContextFactory.create(Source, SOAPVersion, ClassLoader...)
           
com.sun.xml.ws.encoding.StreamSOAPCodec.create(WSBinding)
          use StreamSOAPCodec.create(WSFeatureList) 
com.sun.xml.ws.api.message.Messages.createAddressingFaultMessage(WSBinding, QName)
          Use Messages.createAddressingFaultMessage(WSBinding, Packet, QName) 
com.sun.xml.bind.v2.ContextFactory.createContext(Class[], Collection, Map, String, boolean, RuntimeAnnotationReader, boolean, boolean, boolean)
          use createContext(Class[] classes, Map properties) method instead 
com.sun.xml.bind.v2.ContextFactory.createContext(Class[], Collection, Map, String, boolean, RuntimeAnnotationReader, boolean, boolean, boolean, boolean)
          use createContext( Class[] classes, Map properties) method instead 
com.oracle.webservices.api.message.MessageContextFactory.createContext(InputStream, MimeHeaders)
          http://java.net/jira/browse/JAX_WS-1077 
com.sun.xml.ws.api.message.MessageContextFactory.createContext(InputStream, MimeHeaders)
          http://java.net/jira/browse/JAX_WS-1077 
com.sun.xml.ws.api.pipe.Stubs.createDataSourceDispatch(QName, WSService, WSBinding, Service.Mode, Tube, WSEndpointReference)
           
com.sun.xml.ws.api.server.InstanceResolver.createDefault(Class, boolean)
          This is added here because a Glassfish integration happened with this signature. Please do not use this. Will be removed after the next GF integration. 
com.sun.xml.ws.api.pipe.Stubs.createJAXBDispatch(QName, WSService, WSBinding, JAXBContext, Service.Mode, Tube, WSEndpointReference)
           
com.oracle.webservices.api.message.BasePropertySet.createMapView()
          use newer implementation PropertySet.asMap() which produces readwrite BasePropertySet.PropertyMap 
com.oracle.webservices.api.message.PropertySet.createMapView()
          use newer implementation BasePropertySet.asMap() which produces readwrite Map 
com.sun.xml.ws.api.pipe.Stubs.createMessageDispatch(QName, WSService, WSBinding, Tube, WSEndpointReference)
           
com.sun.xml.ws.api.message.Messages.createRaw(JAXBContext, Object, SOAPVersion)
          For use when creating a Dispatch object with an unknown JAXB implementation for he JAXBContext parameter. 
com.sun.xml.ws.message.jaxb.JAXBMessage.createRaw(JAXBContext, Object, SOAPVersion)
          For use when creating a Dispatch object with an unknown JAXB implementation for he JAXBContext parameter. 
com.sun.xml.ws.api.message.Packet.createResponse(Message)
          Use createClientResponse(Message) for client side and createServerResponse(Message, String) for server side response creation. 
com.sun.xml.ws.api.pipe.Stubs.createSAAJDispatch(QName, WSService, WSBinding, Service.Mode, Tube, WSEndpointReference)
           
com.sun.xml.ws.assembler.dev.ClientPipelineHook.createSecurityPipe(PolicyMap, ClientPipeAssemblerContext, Pipe)
          Use ClientPipelineHook.createSecurityTube(com.sun.xml.ws.assembler.dev.ClientTubelineAssemblyContext). 
com.sun.xml.ws.api.pipe.Codecs.createSOAPEnvelopeXmlCodec(WSBinding)
          use Codecs.createSOAPEnvelopeXmlCodec(WSFeatureList) 
com.sun.xml.ws.client.dispatch.DispatchImpl.createSourceDispatch(QName, Service.Mode, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.api.pipe.Stubs.createSourceDispatch(QName, WSService, WSBinding, Service.Mode, Tube, WSEndpointReference)
           
com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream)
          Use XMLStreamWriterFactory.create(OutputStream) 
com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream, String)
          Use XMLStreamWriterFactory.create(OutputStream, String) 
com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream, String, boolean)
          Use XMLStreamWriterFactory.create(OutputStream, String). The boolean flag was unused anyway. 
com.sun.xml.ws.api.databinding.Databinding.decode(InputStream, String, Packet)
          use MessageContextFactory 
com.oracle.webservices.api.message.MessageContextFactory.doCreate()
           
com.sun.xml.ws.api.message.MessageContextFactory.doCreate()
           
com.oracle.webservices.api.message.MessageContextFactory.doCreate(SOAPMessage)
           
com.sun.xml.ws.api.message.MessageContextFactory.doCreate(SOAPMessage)
           
com.oracle.webservices.api.message.MessageContextFactory.doCreate(Source, SOAPVersion)
           
com.sun.xml.ws.api.message.MessageContextFactory.doCreate(Source, SOAPVersion)
           
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.doSuspend()
           
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.doSuspend(Tube)
           
com.sun.xml.ws.api.databinding.Databinding.encode(Packet, OutputStream)
          use MessageContextFactory 
com.oracle.webservices.api.databinding.Databinding.Builder.entityResolver(EntityResolver)
          - no replacement - this was never implemented Sets the EntityResolver for reading the WSDL 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.expectText()
           
com.sun.xml.ws.developer.StatefulWebServiceManager.export(Class, String, T)
          This method is provided as a temporary workaround, and we'll eventually try to remove it. 
com.sun.xml.ws.api.message.HeaderList.get(QName)
          Use HeaderList.get(QName) 
com.sun.xml.ws.api.message.HeaderList.get(String, String)
          Use HeaderList.get(String, String, boolean) 
com.sun.xml.ws.api.addressing.AddressingVersion.getAnonymousUri()
          Use AddressingVersion.anonymousUri 
com.sun.xml.ws.api.message.Packet.getApplicationScopePropertyNames(boolean)
          Use Packet.getHandlerScopePropertyNames(boolean). To be removed once Tango components are updated. 
com.sun.xml.ws.spi.db.BindingContextFactory.getBindingContext(Marshaller)
          - Does jaxws need this? 
com.sun.xml.ws.client.PortInfo.getBindingID()
          Only meant to be used via PortInfo. Use PortInfo.bindingId. 
com.sun.xml.ws.api.model.CheckedException.getBridge()
          Why do you need this? 
com.sun.xml.ws.api.model.Parameter.getBridge()
            
com.sun.xml.ws.model.CheckedExceptionImpl.getBridge()
            
com.sun.xml.ws.model.ParameterImpl.getBridge()
            
com.sun.xml.ws.model.AbstractSEIModelImpl.getBridge(TypeReference)
          use getBond 
com.sun.xml.ws.model.ParameterImpl.getBridge(TypeReference)
            
com.sun.xml.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes(InputStream)
          this is an expensive operation that require an additional buffer reallocation just to get the array of an exact size. Unless you absolutely need the exact size array, don't use this. Use ByteOutputStream and ByteOutputStream.write(InputStream). 
com.sun.xml.bind.v2.runtime.XMLSerializer.getCachedBase64DataInstance()
          Base64Data is no longer cached, so that XMLStreamWriterEx impl can retain the data, like JAX-WS does. 
com.sun.xml.ws.model.JavaMethodImpl.getCheckedException(TypeReference)
            
com.sun.xml.ws.api.server.WSEndpoint.getComponentRegistry()
            
com.sun.xml.ws.spi.db.BindingContextFactory.getContext(Marshaller)
          - Does jaxws need this? 
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.getElementName()
          always return null at this level. 
com.sun.xml.ws.api.message.Packet.getEndPointAddressString()
          The programatic acccess should be done via Packet.endpointAddress. This is for JAX-WS client applications that access this property via BindingProvider.ENDPOINT_ADDRESS_PROPERTY. 
com.sun.xml.ws.client.RequestContext.getEndPointAddressString()
          always access RequestContext.endpointAddress. 
org.jvnet.fastinfoset.FastInfosetParser.getExternalVocabularies()
          The map returned will not be the same instance and contain the same entries as the map set by FastInfosetParser.setExternalVocabularies(java.util.Map) method. 
org.codehaus.stax2.XMLStreamReader2.getFeature(String)
          Should use XMLStreamReader.getProperty(java.lang.String) instead 
com.sun.xml.ws.api.message.HeaderList.getHeaders(String)
          use HeaderList.getHeaders(String, boolean). 
com.sun.xml.ws.api.message.HeaderList.getHeaders(String, String)
          Use HeaderList.getHeaders(String, String, boolean) 
com.sun.xml.ws.api.message.Message.getID(AddressingVersion, SOAPVersion)
            
com.sun.xml.ws.api.message.Message.getID(WSBinding)
            
com.sun.xml.bind.marshaller.DataWriter.getIndentStep()
          Only return the length of the indent string. 
com.sun.xml.txw2.output.DataWriter.getIndentStep()
          Only return the length of the indent string. 
com.sun.xml.txw2.output.IndentingXMLFilter.getIndentStep()
          Only return the length of the indent string. 
com.sun.xml.txw2.output.IndentingXMLStreamWriter.getIndentStep()
          Only return the length of the indent string. 
com.sun.xml.ws.model.JavaMethodImpl.getInputParametersCount()
          no longer use in the new architecture 
com.sun.xml.ws.api.model.SEIModel.getJAXBContext()
          Why do you need this? 
com.sun.xml.ws.model.AbstractSEIModelImpl.getJAXBContext()
            
com.sun.xml.ws.api.message.Message.getMethod(SEIModel)
           
com.sun.xml.ws.policy.PolicyAssertion.getNestedAssertionsIterator()
          Use getNestedParametersIterator() instead 
com.sun.xml.ws.api.addressing.AddressingVersion.getNoneUri()
          Use AddressingVersion.noneUri. 
com.sun.xml.ws.api.addressing.AddressingVersion.getNsUri()
          Use AddressingVersion.nsUri. 
com.sun.xml.ws.model.JavaMethodImpl.getOperation()
            
com.sun.xml.ws.api.message.Message.getOperation(WSDLBoundPortType)
          It is not always possible to uniquely identify the WSDL Operation from just the information in the Message. Instead, Use Packet.getWSDLOperation() to get it correctly.

This method works only for a request. A pipe can determine an operation for a request, and then keep it in a local variable to use it with a response, so there should be no need to find out operation from a response (besides, there might not be any response!). 

com.sun.xml.ws.api.message.Message.getOperation(WSDLPort)
          It is not always possible to uniquely identify the WSDL Operation from just the information in the Message. Instead, Use Packet.getWSDLOperation() to get it correctly. 
com.sun.xml.ws.api.client.WSPortInfo.getPolicyMap()
          Do not use this method as the PolicyMap API is not final yet and might change in next few months. 
com.sun.xml.ws.api.model.wsdl.WSDLModel.getPolicyMap()
          Do not use this method as the PolicyMap API is not final yet and might change in next few months. 
com.sun.xml.ws.api.server.WSEndpoint.getPolicyMap()
          Do not use this method as the PolicyMap API is not final yet and might change in next few months. 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.getPredictor()
           
com.sun.xml.ws.model.AbstractSEIModelImpl.getQNameForJM(JavaMethodImpl)
          Use JavaMethod.getOperationName(). 
com.sun.xml.ws.transport.http.WSHTTPConnection.getRequestHeaderNames()
          This is a potentially expensive operation. Programs that want to access HTTP headers should consider using other methods such as WSHTTPConnection.getRequestHeader(String). 
com.sun.xml.ws.transport.http.WSHTTPConnection.getRequestHeaders()
          This is a potentially expensive operation. Programs that want to access HTTP headers should consider using other methods such as WSHTTPConnection.getRequestHeader(String). 
com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getScope()
          you shouldn't be invoking this method on ClassInfoImpl. 
com.sun.xml.ws.client.PortInfo.getServiceName()
          Only meant to be used via PortInfo. Use WSServiceDelegate.getServiceName(). 
com.oracle.webservices.api.message.MessageContext.getSOAPMessage()
          use getAsSOAPMessage 
com.sun.xml.fastinfoset.stax.StAXDocumentParser.getTextAlgorithmBytes()
          was deprecated due to security reasons. Now the method return cloned byte[]. 
com.sun.xml.ws.model.ParameterImpl.getTypeReference()
          use getTypeInfo 
com.sun.xml.ws.api.addressing.AddressingVersion.getWsaHelper(WSDLPort, SEIModel, WSBinding)
          TODO why are we exposing implementation specificc class through api? TODO Remove it if no one elase uses it. 
com.sun.xml.ws.wsdl.OperationDispatcher.getWSDLOperationQName(Packet)
          use getWSDLOperationMapping(Packet request) 
com.sun.xml.ws.wsdl.WSDLOperationFinder.getWSDLOperationQName(Packet)
          use getWSDLOperationMapping(Packet request) 
com.sun.xml.ws.policy.PolicyAssertion.hasNestedAssertions()
          Use hasParameters() instead 
com.sun.org.apache.xml.internal.resolver.CatalogManager.ignoreMissingProperties(boolean)
          No longer static; use get/set methods. 
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.isElement()
          always return false at this level. 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.isValidating()
          since 2.0 
com.sun.xml.ws.model.WrapperParameter.isWrapperStyle()
          Why are you calling a method that always return true? 
com.sun.xml.bind.api.JAXBRIContext.newInstance(Class[], Collection, String, boolean)
          Compatibility with older versions. 
com.sun.xml.ws.api.PropertySet.parse(Class)
            
com.sun.xml.bind.unmarshaller.DOMScanner.parse(Element, ContentHandler)
          in JAXB 2.0 Use DOMScanner.scan(Element) 
com.sun.xml.bind.DatatypeConverterImpl.parseAnySimpleType(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseBase64Binary(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseBoolean(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseByte(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseDate(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseDateTime(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseDecimal(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseDouble(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseFloat(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseHexBinary(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseInt(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseInteger(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseLong(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseQName(String, NamespaceContext)
           
com.sun.xml.bind.DatatypeConverterImpl.parseShort(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseString(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseTime(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseUnsignedInt(String)
           
com.sun.xml.bind.DatatypeConverterImpl.parseUnsignedShort(String)
           
com.sun.xml.bind.unmarshaller.DOMScanner.parseWithContext(Element, ContentHandler)
          in JAXB 2.0 Use DOMScanner.scan(Element) 
com.sun.org.apache.xml.internal.resolver.CatalogManager.preferPublic()
          No longer static; use get/set methods. 
com.sun.xml.bind.DatatypeConverterImpl.printAnySimpleType(String)
           
com.sun.xml.bind.DatatypeConverterImpl.printBase64Binary(byte[])
           
com.sun.xml.bind.DatatypeConverterImpl.printBoolean(boolean)
           
com.sun.xml.bind.DatatypeConverterImpl.printByte(byte)
           
com.sun.xml.bind.DatatypeConverterImpl.printDate(Calendar)
           
com.sun.xml.bind.DatatypeConverterImpl.printDateTime(Calendar)
           
com.sun.xml.bind.DatatypeConverterImpl.printDecimal(BigDecimal)
           
com.sun.xml.bind.DatatypeConverterImpl.printDouble(double)
           
com.sun.xml.bind.DatatypeConverterImpl.printFloat(float)
           
com.sun.xml.bind.DatatypeConverterImpl.printHexBinary(byte[])
           
com.sun.xml.bind.DatatypeConverterImpl.printInt(int)
           
com.sun.xml.bind.DatatypeConverterImpl.printInteger(BigInteger)
           
com.sun.xml.bind.DatatypeConverterImpl.printLong(long)
           
com.sun.xml.bind.DatatypeConverterImpl.printQName(QName, NamespaceContext)
           
com.sun.xml.bind.DatatypeConverterImpl.printShort(short)
           
com.sun.xml.bind.DatatypeConverterImpl.printString(String)
           
com.sun.xml.bind.DatatypeConverterImpl.printTime(Calendar)
           
com.sun.xml.bind.DatatypeConverterImpl.printUnsignedInt(long)
           
com.sun.xml.bind.DatatypeConverterImpl.printUnsignedShort(int)
           
com.sun.xml.stream.buffer.sax.SAXBufferProcessor.process(XMLStreamBuffer)
          Use SAXBufferProcessor.process(XMLStreamBuffer, boolean) 
com.sun.xml.ws.transport.http.servlet.ServletAdapter.publishWSDL(ServletContext, HttpServletRequest, HttpServletResponse)
          Use ServletAdapter.handle(ServletContext, HttpServletRequest, HttpServletResponse) 
com.sun.xml.ws.api.message.Header.readAsJAXB(Bridge)
            
com.sun.xml.ws.message.AbstractHeaderImpl.readAsJAXB(Bridge)
            
com.sun.xml.ws.message.DOMHeader.readAsJAXB(Bridge)
            
com.sun.xml.ws.message.jaxb.JAXBHeader.readAsJAXB(Bridge)
            
com.sun.xml.ws.message.AbstractHeaderImpl.readAsJAXB(Bridge, BridgeContext)
            
com.sun.xml.ws.security.opt.impl.message.Header.readAsJAXB(Bridge, BridgeContext)
          Use Header.readAsJAXB(Bridge). To be removed after JavaOne. 
com.sun.xml.ws.security.opt.impl.message.SecurityHeaderWrapper.readAsJAXB(Bridge, BridgeContext)
          Use SecurityHeaderWrapper.readAsJAXB(Bridge). To be removed after JavaOne. 
com.sun.xml.stream.buffer.XMLStreamBuffer.readAsXMLReader()
          Use XMLStreamBuffer.readAsXMLReader(boolean) 
com.sun.xml.ws.api.message.FilterMessageImpl.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.api.message.Message.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.message.AbstractMessageImpl.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.message.DOMMessage.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.message.saaj.SAAJMessage.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.message.source.ProtocolSourceMessage.readPayloadAsJAXB(Bridge)
            
com.sun.xml.ws.message.stream.StreamMessage.readPayloadAsJAXB(Bridge)
            
com.sun.org.apache.xml.internal.resolver.CatalogManager.relativeCatalogs()
          No longer static; use get/set methods. 
com.sun.xml.ws.api.pipe.Fiber.removeListener(Fiber.Listener)
            
com.sun.xml.ws.api.DistributedPropertySet.removeSatellite(PropertySet)
            
com.sun.xml.ws.api.message.Packet.removeSatellite(PropertySet)
            
com.sun.xml.ws.api.pipe.Fiber.run()
           
com.sun.xml.stream.buffer.AbstractProcessor.setBuffer(XMLStreamBuffer)
          Use AbstractProcessor.setBuffer(XMLStreamBuffer, boolean) 
org.codehaus.stax2.XMLStreamReader2.setFeature(String, Object)
          Should use XMLStreamReader2.setProperty(java.lang.String, java.lang.Object) instead 
com.sun.xml.bind.marshaller.DataWriter.setIndentStep(int)
          Should use the version that takes string. 
com.sun.xml.txw2.output.DataWriter.setIndentStep(int)
          Should use the version that takes string. 
com.sun.xml.txw2.output.IndentingXMLFilter.setIndentStep(int)
          Should use the version that takes string. 
com.sun.xml.txw2.output.IndentingXMLStreamWriter.setIndentStep(int)
          Should use the version that takes string. 
com.sun.xml.wss.saml.Assertion.setMajorVersion(BigInteger)
          Set the saml major version for SAML1.0 and SAML1.1 
com.sun.xml.wss.saml.Assertion.setMinorVersion(BigInteger)
          Set the saml minor version for SAML1.0 and SAML1.1 
com.sun.xml.ws.api.model.wsdl.editable.EditableWSDLModel.setPolicyMap(PolicyMap)
            
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.setValidating(boolean)
          since 2.0 
com.sun.xml.wss.saml.Assertion.setVersion(String)
          Set the saml version for SAML2.0 
com.sun.xml.stream.buffer.sax.SAXBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
          Use SAXBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer, boolean). 
com.sun.xml.stream.buffer.stax.StreamWriterBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
          Use StreamWriterBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer, boolean) 
com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension.start(TypedXmlWriter, SEIModel, WSBinding, Container)
            
com.sun.xml.ws.api.server.InstanceResolver.start(WebServiceContext)
          Use InstanceResolver.start(WSWebServiceContext,WSEndpoint). 
com.sun.xml.ws.api.server.Invoker.start(WebServiceContext)
          Use Invoker.start(WSWebServiceContext,WSEndpoint) 
com.sun.org.apache.xml.internal.resolver.CatalogManager.staticCatalog()
          No longer static; use get/set methods. 
com.sun.xml.ws.api.pipe.NextAction.suspend()
          Use variants that pass Runnable 
com.sun.xml.ws.api.pipe.NextAction.suspend(Tube)
          Use variants that pass Runnable 
com.sun.xml.ws.util.Pool.TubePool.takeMaster()
          Expected to be used in rare cases where access to master tubeline is required and safe, such as Stub.close()." 
com.sun.xml.messaging.saaj.util.ByteOutputStream.toByteArray()
          because this is evil! 
com.sun.xml.ws.util.ByteArrayBuffer.toByteArray()
          this method causes a buffer reallocation. Use it only when you have to. 
com.sun.xml.ws.api.message.HeaderList.understood(Header)
          By the definition of ArrayList, this operation requires O(n) search of the array, and thus inherently inefficient. Because of this, if you are developing a Pipe for a performance sensitive environment, do not use this method. 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(SAXSource)
           
com.sun.org.apache.xml.internal.resolver.CatalogManager.verbosity()
          No longer static; use get/set methods. 
com.sun.xml.stream.buffer.XMLStreamBuffer.writeTo(ContentHandler)
          Use XMLStreamBuffer.writeTo(ContentHandler,boolean) 
com.sun.xml.stream.buffer.XMLStreamBuffer.writeToXMLStreamWriter(XMLStreamWriter)
          Use XMLStreamBuffer.writeToXMLStreamWriter(XMLStreamWriter, boolean) 
com.oracle.webservices.api.databinding.Databinding.Builder.wsdlSource(Source)
          - no replacement - this was never implemented Sets the WSDL Source where the WSDL can be read from 
com.oracle.webservices.api.databinding.Databinding.Builder.wsdlURL(URL)
          - no replacement - this was never implemented Sets the WSDL URL where the WSDL can be read from 
 

Deprecated Constructors
com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBinding)
          Use ClientTubeAssemblerContext.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class) 
com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBinding, Container)
          Use ClientTubeAssemblerContext.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class) 
com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBinding, Container, Codec)
          Use ClientTubeAssemblerContext.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class) 
com.sun.xml.ws.api.pipe.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBinding, Container, Codec, SEIModel, Class)
          Use ClientTubeAssemblerContext.ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class) 
com.sun.xml.ws.client.dispatch.DataSourceDispatch(QName, Service.Mode, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.client.dispatch.DispatchImpl(QName, Service.Mode, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.transport.http.server.EndpointImpl(WSEndpoint, Object)
          This is a backdoor method. Don't use it unless you know what you are doing. 
com.sun.xml.ws.transport.http.server.EndpointImpl(WSEndpoint, Object, EndpointContext)
          This is a backdoor method. Don't use it unless you know what you are doing. 
com.sun.xml.ws.transport.http.server.EndpointImpl(WSEndpoint, String)
          This is a backdoor method. Don't use it unless you know what you are doing. 
com.sun.xml.ws.transport.http.server.EndpointImpl(WSEndpoint, String, EndpointContext)
          This is a backdoor method. Don't use it unless you know what you are doing. 
com.sun.xml.ws.security.impl.policy.Header(String, String)
           
com.sun.xml.ws.api.message.HeaderList()
           
com.sun.xml.ws.transport.http.HttpAdapter(WSEndpoint, HttpAdapterList)
          remove as soon as we can update the test util. 
com.sun.xml.ws.client.dispatch.JAXBDispatch(QName, JAXBContext, Service.Mode, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.util.exception.JAXWSExceptionBase(String, Object...)
          Should use the localizable constructor instead. 
com.sun.xml.ws.client.dispatch.MessageDispatch(QName, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.client.dispatch.PacketDispatch(QName, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.ws.policy.PolicyAssertion(AssertionData, Collection, AssertionSet)
          Non-abstract assertion types should derive from SimpleAssertion or ComplexAssertion instead. Policy class will not provide support for nested policy alternatives in the future. This responsibility is delegated to ComplexAssertion class instead. 
com.sun.xml.bind.marshaller.SAX2DOMEx()
            
com.sun.xml.stream.buffer.sax.SAXBufferProcessor(XMLStreamBuffer)
          Use SAXBufferProcessor.SAXBufferProcessor(XMLStreamBuffer, boolean) 
com.sun.xml.ws.client.sei.SEIStub(WSServiceDelegate, BindingImpl, SOAPSEIModel, Tube, WSEndpointReference)
           
com.sun.xml.ws.transport.http.servlet.ServletAdapterList()
            
com.sun.xml.ws.client.dispatch.SOAPMessageDispatch(QName, Service.Mode, WSServiceDelegate, Tube, BindingImpl, WSEndpointReference)
           
com.sun.xml.stream.buffer.stax.StreamWriterBufferProcessor(XMLStreamBuffer)
          Use StreamWriterBufferProcessor.StreamWriterBufferProcessor(XMLStreamBuffer, boolean) 
com.sun.xml.ws.client.Stub(QName, WSServiceDelegate, Tube, BindingImpl, WSDLPort, EndpointAddress, WSEndpointReference)
           
com.sun.xml.ws.client.Stub(WSServiceDelegate, Tube, BindingImpl, WSDLPort, EndpointAddress, WSEndpointReference)
           
 



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.