You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sean O'Callaghan (JIRA)" <ji...@apache.org> on 2008/08/21 17:52:44 UTC

[jira] Resolved: (CXF-1304) Uninformative error message from wsdl2java on some problem with an enum

     [ https://issues.apache.org/jira/browse/CXF-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean O'Callaghan resolved CXF-1304.
-----------------------------------

    Resolution: Fixed

Ran against  CXF 2.2, wsdl2java -validate gives meaningful error message:


WSDLToJava Error:
line 28 column 38 of file:/C:/CXFISSUES/CXF1304/TransliterationAssistant.wsdl: c
vc-enumeration-valid: Value 'qualifed' is not facet-valid with respect to enumer
ation '[qualified, unqualified]'. It must be a value from the enumeration.

line 28 column 38 of file:/C:/CXFISSUES/CXF1304/TransliterationAssistant.wsdl: c
vc-attribute.3: The value 'qualifed' of attribute 'elementFormDefault' on elemen
t 'schema' is not valid with respect to its type, 'formChoice'.


> Uninformative error message from wsdl2java on some problem with an enum
> -----------------------------------------------------------------------
>
>                 Key: CXF-1304
>                 URL: https://issues.apache.org/jira/browse/CXF-1304
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.3
>            Reporter: Benson Margulies
>            Assignee: Sean O'Callaghan
>         Attachments: TransliterationAssistant.wsdl
>
>
> The error message below does not give me much of a clue.
> WSDLToJava Error : org.apache.ws.commons.schema.constants.Enum$EnumValueException: Bad Enumeration value 'qualifed'

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