You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kenneth Tam (JIRA)" <ji...@apache.org> on 2006/03/28 10:09:22 UTC

[jira] Created: (AXIS2-530) WSDL2Java JaxMe databinding support broken because of missing JAR

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, , <-, org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl@bdb503
: FINEST, parse, , Parser = org.apache.ws.jaxme.xs.jaxb.impl.JAXBParser@15856a5, validating = false
: FINEST, parse, , Schema = org.apache.ws.jaxme.xs.jaxb.impl.JAXBSchemaImpl@1428ea
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


[jira] Resolved: (AXIS2-530) WSDL2Java JaxMe databinding support broken because of missing JAR

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-530?page=all ]
     
Davanum Srinivas resolved AXIS2-530:
------------------------------------

    Resolution: Fixed

applied. thx.

-- dims

> 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
>     Assignee: Ajith Harshana Ranabahu
>     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, , <-, org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl@bdb503
> : FINEST, parse, , Parser = org.apache.ws.jaxme.xs.jaxb.impl.JAXBParser@15856a5, validating = false
> : FINEST, parse, , Schema = org.apache.ws.jaxme.xs.jaxb.impl.JAXBSchemaImpl@1428ea
> 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


[jira] Assigned: (AXIS2-530) WSDL2Java JaxMe databinding support broken because of missing JAR

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-530?page=all ]

Deepal Jayasinghe reassigned AXIS2-530:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> 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
>     Assignee: Ajith Harshana Ranabahu
>     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, , <-, org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl@bdb503
> : FINEST, parse, , Parser = org.apache.ws.jaxme.xs.jaxb.impl.JAXBParser@15856a5, validating = false
> : FINEST, parse, , Schema = org.apache.ws.jaxme.xs.jaxb.impl.JAXBSchemaImpl@1428ea
> 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