You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2008/04/03 16:50:24 UTC

[jira] Commented: (CXF-1500) Very unhelpful error message for wsdl2java problem with documentation annotations

    [ https://issues.apache.org/jira/browse/CXF-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585129#action_12585129 ] 

Benson Margulies commented on CXF-1500:
---------------------------------------

xjc in 2.1.6 gives me ...

bim-1330% ./xjc.sh -d /tmp/foo -wsdl /home/benson/x/tip/webservices/doc/en/RosetteTextAnalyzer.wsdl
parsing a schema...
[ERROR] Unexpected <annotation> appears at line 107 column 16
  line 107 of file:/home/benson/x/tip/webservices/doc/en/RosetteTextAnalyzer.wsdl

Failed to parse a schema.


so it's clear that more information about the problem is possible.


> Very unhelpful error message for wsdl2java problem with documentation annotations
> ---------------------------------------------------------------------------------
>
>                 Key: CXF-1500
>                 URL: https://issues.apache.org/jira/browse/CXF-1500
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>         Attachments: RosetteTextAnalyzer.wsdl
>
>
> I am trying to run wsdl2java on a WSDL file with some doc annotations. I get the following. I will attach the file. It doesn't have the annotations on line 0!
> bim-1330% $CXF_HOME/bin/wsdl2java -d src -server /home/benson/x/tip/webservices/doc/en/RosetteTextAnalyzer.wsdl
> WSDLToJava Error: Thrown by JAXB : Unexpected <annotation> appears at line 0 column 0

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