axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <josef.stadelm...@axa-winterthur.ch>
Subject [axis2-1.6.1] RequestWrapper.partName() not supported on JDK 1.6.0 but used by JAX-WS
Date Thu, 05 Apr 2012 16:47:06 GMT
[exec:exec]
Starting Server
Exception in thread "main" java.lang.NoSuchMethodError:
javax.xml.ws.RequestWrapper.partName()Ljava/lang/String;
	at
org.apache.axis2.jaxws.description.builder.converter.JavaMethodsToMDCCon
verter.attachRequestWrapperAnnotation(JavaMethodsToMDCConverter.java:203
)
	at
org.apache.axis2.jaxws.description.builder.converter.JavaMethodsToMDCCon
verter.convertMethods(JavaMethodsToMDCConverter.java:85)
	at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConve
rter.introspectClass(JavaClassToDBCConverter.java:193)
	at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConve
rter.buildDBC(JavaClassToDBCConverter.java:141)
	at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConve
rter.produceDBC(JavaClassToDBCConverter.java:120)
	at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createSer
viceDescription(DescriptionFactoryImpl.java:215)
	at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createSer
viceDescription(DescriptionFactoryImpl.java:206)
	at
org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescr
iption(DescriptionFactory.java:542)
	at
org.apache.axis2.jaxws.server.endpoint.EndpointImpl.initialize(EndpointI
mpl.java:85)
	at
org.apache.axis2.jaxws.server.endpoint.EndpointImpl.<init>(EndpointImpl.
java:67)
	at
org.apache.axis2.jaxws.spi.Provider.createAndPublishEndpoint(Provider.ja
va:56)
	at
org.apache.axis2.jaxws.spi.Provider.createAndPublishEndpoint(Provider.ja
va:52)
	at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
	at
org.apache.axis2.jaxws.calculator.CalculatorServer.<init>(CalculatorServ
er.java:29)
	at
org.apache.axis2.jaxws.calculator.CalculatorServer.main(CalculatorServer
.java:33)
------------------------------------------------------------------------
BUILD FAILURE


call it a feature, but the axis2-1.6.1/samples/jaxws-calculator project
runs only with JDK 1.7.0 !!!

javax.xml.ws.RequestWrapper.partName()
can only run if you are on a JDK 1.7.0 platform as .partName() method
does not exist with the JDK 1.6.0

So that is one more time why it should be said in the release notes that

JAX-WS 2.0 is not fully supported on axis2-1.6.1 to run on a JDK 1.6.0
platform.

my thoughts, 

Josef

Mime
View raw message