Is there something special I have to do to run java2wsdl for an aegis
environment? As it is, I get a very mysterious rejection letter until I
ask for -verbose, and then I get the following...
org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
[java] INFO: Could not find the configuration file cxf.xml on the
classpath.
[java] Jul 17, 2007 10:27:45 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromC
lass
[java] INFO: Creating Service
{urn:com.basistech.rnm.index.ws}NameIndex from class
com.basistech.rnm.index.ws
.impl.NameIndexServiceImpl
[java] Error :
org.apache.cxf.service.factory.ServiceConstructionException
[java]
[java] java.lang.RuntimeException:
org.apache.cxf.service.factory.ServiceConstructionException
[java] at
org.apache.cxf.frontend.AbstractServiceFactory.createService(AbstractSer
viceFactory.java:31)
[java] at
org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.process(JavaToP
rocessor.java:87)
[java] at
org.apache.cxf.tools.java2wsdl.JavaToWSDLContainer.execute(JavaToWSDLCon
tainer.java:59)
[java] at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:
84)
[java] at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:
52)
[java] at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:
39)
[java] at
org.apache.cxf.tools.java2wsdl.JavaToWSDL.run(JavaToWSDL.java:74)
[java] at
org.apache.cxf.tools.java2wsdl.JavaToWSDL.main(JavaToWSDL.java:42)
[java] Caused by:
org.apache.cxf.service.factory.ServiceConstructionException
[java] at
org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:269)
[java] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
FromClass(ReflectionSer
viceFactoryBean.java:220)
[java] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
rviceModel(ReflectionSe
rviceFactoryBean.java:248)
[java] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
ctionServiceFactoryBean
.java:136)
[java] at
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractE
ndpointFactory.java:83)
[java] at
org.apache.cxf.frontend.AbstractServiceFactory.createService(AbstractSer
viceFactory.java:29)
[java] ... 7 more
[java] Caused by:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 7 counts of
IllegalAnnotationExcep
tions
[java] Class has two properties of the same name "scheme"
[java] this problem is related to the following location:
[java] at public int
com.basistech.rnm.Transliteration.getScheme()
[java] at com.basistech.rnm.Transliteration
[java] at public com.basistech.rnm.Transliteration[]
com.basistech.rnm.Name.getTransliterations()
[java] at com.basistech.rnm.Name
[java] at public com.basistech.rnm.Name[]
com.basistech.rnm.Entity.getNames()
[java] at com.basistech.rnm.Entity
[java] this problem is related to the following location:
[java] at public int
com.basistech.rnm.Transliteration.scheme
[java] at com.basistech.rnm.Transliteration
[java] at public com.basistech.rnm.Transliteration[]
com.basistech.rnm.Name.getTransliterations()
[java] at com.basistech.rnm.Name
[java] at public com.basistech.rnm.Name[]
com.basistech.rnm.Entity.getNames()
[java] at com.basistech.rnm.Entity