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 "Enric Staromiejski (JIRA)" <ji...@apache.org> on 2007/07/18 12:06:06 UTC

[jira] Commented: (AXIS2-2979) UBL-2.0 Schemes throw Exception when using jaxbri databinding

    [ https://issues.apache.org/jira/browse/AXIS2-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513517 ] 

Enric Staromiejski commented on AXIS2-2979:
-------------------------------------------

Dear Davanum,

I still am having the same problem. I can see any differenc between the
schemes/wsdl i sent and the ones you've updated. Didn't you possibly get
mislead by the wsdl2java.bat file contents? If so, it's my fault. Delete the
first line ant try executing again.

Regards and Thanks,
Enric




> UBL-2.0 Schemes throw Exception when using jaxbri databinding 
> --------------------------------------------------------------
>
>                 Key: AXIS2-2979
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2979
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.2
>         Environment: Windows XP
>            Reporter: Enric Staromiejski
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: place-2.2.zip
>
>
> I'm trying to generate the server code from a wsdl using jaxb-2.0+jdk1.5 but i 'm always getting the same error. The syntax i'm using is this:
>  
> %AXIS2_HOME%\bin\wsdl2java.bat -uri http://localhost/mywsdl.wsdl -p mynamespace -o target_directory_name -d jaxbri -s -wv 1.2 -ss -sd
>  
> and get the error:
>  
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
> : java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate (CodeGener
> ationEngine.java:256)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExcepti 
> on
>         at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRI
> Extension.java:109)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:209)   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org