Tolerate Java 6 JRE for JAX-WS applications
-------------------------------------------

                 Key: AXIS2-3425
                 URL: https://issues.apache.org/jira/browse/AXIS2-3425
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: jaxws
            Reporter: Nick Gallardo
            Assignee: Nick Gallardo


The current trunk cannot be compiled using a Java 6 JDK due to some API 
conflicts.  We should be able to run existing JAX-WS applications with a Java 6 
runtime.  The Java 6 runtime has its own JAX-WS 2.1 implementation.  When you 
try to compile the existing Axis2 JAX-WS module with that runtime, slight 
differences in the APIs cause compile errors.

Here's what I see compiling against the latest trunk:

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\binding\BindingImpl.java:[36,7]
 org.apache
.axis2.jaxws.binding.BindingImpl is not abstract and does not override abstract 
method getBindingID() in javax.xml.ws.Bi
nding

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\binding\HTTPBinding.java:[23,7]
 org.apache
.axis2.jaxws.binding.HTTPBinding is not abstract and does not override abstract 
method getBindingID() in javax.xml.ws.Bi
nding

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\BindingProvider.java:[40,7]
 org.apache.axi
s2.jaxws.BindingProvider is not abstract and does not override abstract method 
<T>getEndpointReference(java.lang.Class<T
>) in javax.xml.ws.BindingProvider

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\spi\ServiceDelegate.java:[69,7]
 org.apache
.axis2.jaxws.spi.ServiceDelegate is not abstract and does not override abstract 
method createDispatch(javax.xml.ws.Endpo
intReference,javax.xml.bind.JAXBContext,javax.xml.ws.Service.Mode,javax.xml.ws.WebServiceFeature...)
 in javax.xml.ws.spi
.ServiceDelegate

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\spi\Provider.java:[29,7]
 org.apache.axis2.
jaxws.spi.Provider is not abstract and does not override abstract method 
createW3CEndpointReference(java.lang.String,jav
ax.xml.namespace.QName,javax.xml.namespace.QName,java.util.List<org.w3c.dom.Element>,java.lang.String,java.util.List<org
.w3c.dom.Element>) in javax.xml.ws.spi.Provider

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\binding\SOAPBinding.java:[44,7]
 org.apache
.axis2.jaxws.binding.SOAPBinding is not abstract and does not override abstract 
method getBindingID() in javax.xml.ws.Bi
nding

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\client\dispatch\XMLDispatch.java:[45,7]
 or
g.apache.axis2.jaxws.client.dispatch.XMLDispatch is not abstract and does not 
override abstract method <T>getEndpointRef
erence(java.lang.Class<T>) in javax.xml.ws.BindingProvider

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\client\dispatch\JAXBDispatch.java:[47,7]
 o
rg.apache.axis2.jaxws.client.dispatch.JAXBDispatch is not abstract and does not 
override abstract method <T>getEndpointR
eference(java.lang.Class<T>) in javax.xml.ws.BindingProvider

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\context\WebServiceContextImpl.java:[29,7]
org.apache.axis2.jaxws.context.WebServiceContextImpl is not abstract and does 
not override abstract method <T>getEndpoin
tReference(java.lang.Class<T>,org.w3c.dom.Element...) in 
javax.xml.ws.WebServiceContext

C:\work\apps\eclipse\workspace\axis2\modules\jaxws\src\org\apache\axis2\jaxws\server\endpoint\EndpointImpl.java:[43,7]
 o
rg.apache.axis2.jaxws.server.endpoint.EndpointImpl is not abstract and does not 
override abstract method <T>getEndpointR
eference(java.lang.Class<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint


This can be fixed with some simple API changes.  I will provide a patch that 
includes the necessary changes.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to