WSDL2Java JaxMe databinding support broken because of missing JAR
-----------------------------------------------------------------

         Key: AXIS2-530
         URL: http://issues.apache.org/jira/browse/AXIS2-530
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: databinding  
    Versions: 0.95    
    Reporter: Kenneth Tam
    Priority: Minor


Looks like jaxmeapi-${jaxme.version}.jar is missing from both the build & 
dists; adding the appropriate <dependency> entry in modules/codegen/project.xml 
seems to fix.
---

WSDL2java -d jaxme -uri hello.wsdl

results in:

: FINEST, parse, , ->, null
: FINEST, getSGFactory, , ->
: FINEST, getSGFactory, , Created instance of 
org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory
: FINEST, getSGFactory, , <-, [EMAIL PROTECTED]
: FINEST, parse, , Parser = [EMAIL PROTECTED], validating = false
: FINEST, parse, , Schema = [EMAIL PROTECTED]
Exception in thread "main" java.lang.NoClassDefFoundError: 
javax/xml/bind/JAXBException
        at 
org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.newSchemaSG(JAXBSGFactory.java:187)
        at 
org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.newSchemaSG(SGFactoryImpl.java:53)
        at 
org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getSchemaSG(JAXBSGFactory.java:172)
        at 
org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.getSchemaSG(SGFactoryImpl.java:57)
        at 
org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader.parse(JAXBSchemaReader.java:137)
        at 
org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate(GeneratorImpl.java:147)
        at 
org.apache.axis2.wsdl.codegen.extension.JaxMeExtension.engage(JaxMeExtension.java:171)
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101
)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to