[ http://jira.codehaus.org/browse/XFIRE-656?page=all ]

Dan Diephouse updated XFIRE-656:
--------------------------------

    Fix Version/s:     (was: 1.2.4)
                   1.2.5

> Errors with wsgen because types are defined in two schemas
> ----------------------------------------------------------
>
>                 Key: XFIRE-656
>                 URL: http://jira.codehaus.org/browse/XFIRE-656
>             Project: XFire
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 1.2.1
>         Environment: openSuse 10.1
> jsdk 1.5.0_06-b05
> xfire 1.2.1
> XMLSchema 1.1
>            Reporter: Jose Manuel Valladares Pernas
>         Assigned To: Dan Diephouse
>             Fix For: 1.2.5
>
>         Attachments: files.ZIP
>
>
> I am using wsgen to generate the java client classes from a wsdl file that 
> references 2 schema files with the type information.
> The schema files redefine the same types, and wsgen returns errors when I run 
> it.
> The errors are like the following:
>     [wsgen] Sep 19, 2006 4:25:08 PM 
> org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
>     [wsgen] SEVERE: 'AlphaLength3' is already defined at 65,70 in 
> file:/home/jmanuel/src/MiraiOTA/OTA_Cancel/xsd/FS_OTA_CancelRS.xsd
>     [wsgen] Sep 19, 2006 4:25:08 PM  
> org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
>     [wsgen] SEVERE: (related to above error) the first definition appears 
> here  at 62,64 in  
> file:/home/jmanuel/src/MiraiOTA/OTA_Cancel/xsd/FS_OTA_CancelRQ.xsd
> The schema files come from the OTA specification.
> The same wsdl and schemas produce valid classes with axis 1.2.1.
> It is necesary to use XMLSchema 1.1 to pass another error that has XMLSchema 
> 1.0.
> Attached are the files with the sample wsdl and xsd files.

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to