[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

Reply via email to