[ http://jira.codehaus.org/browse/XFIRE-656?page=comments#action_81172 ] 
            
Jose Manuel Valladares Pernas commented on XFIRE-656:
-----------------------------------------------------

It still fails, but I don't know if it is still the same reason. Maybe it is a 
completely different issue.

The error is:
  org.codehaus.xfire.gen.GenerationException: Error generating JAXB model.

The warninga about types already defined are still there, but I don't think 
they cause the generation of java to stop.

Here I send you the output of the ant task with -verbose.


[EMAIL PROTECTED]:~/src/MiraiOTA/xfire/OTA_Cancel_NF> ant -verbose  xf2j
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Detected Java version: 1.5 in: /usr/local/jdk1.5.0_06/jre
Detected OS: Linux
parsing buildfile /home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/build.xml with 
URI = file:///home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/build.xml
Project base dir set to: /home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF
Build sequence for target(s) `xf2j' is [xf2j]
Complete build sequence is [xf2j, w2j, ]

xf2j:
    [wsgen] Nov 27, 2006 12:43:29 PM org.codehaus.xfire.gen.Wsdl11Generator 
generate
    [wsgen] INFO: Generating code for WSDL at 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/OTA_Cancel.wsdl with a base 
URI of file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/OTA_Cancel.wsdl
    [wsgen] Retrieving schema at 'xsd/FS_OTA_CancelRQ.xsd', relative to 
'file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/OTA_Cancel.wsdl'.
    [wsgen] Retrieving schema at 'xsd/FS_OTA_CancelRS.xsd', relative to 
'file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/OTA_Cancel.wsdl'.
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'AlphaLength3' is already defined at 65,70 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:36 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/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'AlphaNumericStringLength1to19' is already defined at 72,59 
in file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 69,70 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'ISO3166' is already defined at 84,49 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 86,48 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'MMYYDate' is already defined at 91,46 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 95,49 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'NumericStringLength1to19' is already defined at 105,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 117,65 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:36 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'NumericStringLength1to5' is already defined at 112,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 131,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'NumericStringLength1to8' is already defined at 119,53 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 138,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'OTA_CodeType' is already defined at 126,60 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 145,53 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'PaymentCardCodeType' is already defined at 219,51 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 152,60 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'RPH_Type' is already defined at 234,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 245,49 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StateProvCodeType' is already defined at 241,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 252,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength0to128' is already defined at 249,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 259,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength0to64' is already defined at 257,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 267,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to128' is already defined at 265,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 275,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to16' is already defined at 273,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 283,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to255' is already defined at 281,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 291,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to32' is already defined at 289,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 299,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to64' is already defined at 297,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 307,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StringLength1to8' is already defined at 305,62 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 315,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'UpperCaseAlphaLength1to2' is already defined at 326,107 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 346,65 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'TPA_Extensions' is already defined at 330,15 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 367,107 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'AddressType' is already defined at 410,59 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 390,54 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'CompanyNameType' is already defined at 456,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 470,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'CountryNameType' is already defined at 469,52 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 479,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'PaymentCardType' is already defined at 593,56 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 532,58 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StateProvType' is already defined at 606,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 720,56 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'StreetNmbrType' is already defined at 619,54 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 733,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'TPA_Extensions_Type' is already defined at 631,56 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 746,62 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'UniqueID_Type' is already defined at 643,54 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 765,56 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:37 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'AltLangID_Group' is already defined at 666,74 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 847,61 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'CompanyID_AttributesGroup' is already defined at 692,68 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 899,74 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'FormattedInd' is already defined at 779,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 998,61 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'ID_Group' is already defined at 788,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1007,57 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'IssuerNameGroup' is already defined at 797,62 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1016,64 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'OTA_PayloadStdAttributes' is already defined at 893,69 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1048,73 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'PaymentCardDateGroup' is already defined at 907,68 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1135,69 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'PrimaryLangID_Group' is already defined at 916,61 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1173,68 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'PrivacyGroup' is already defined at 944,63 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1182,61 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: 'UniqueID_Group' is already defined at 969,34 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRS.xsd
    [wsgen] Nov 27, 2006 12:43:38 PM 
org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
    [wsgen] SEVERE: (related to above error) the first definition appears here 
at 1312,63 in 
file:/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/xsd/FS_OTA_CancelRQ.xsd

BUILD FAILED
/home/jmanuel/src/MiraiOTA/xfire/OTA_Cancel_NF/build.xml:36: 
org.codehaus.xfire.gen.GenerationException: Error generating JAXB model.
        at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:48)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.codehaus.xfire.gen.GenerationException: Error generating JAXB 
model.
        at 
org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSchemaSupport.java:108)
        at 
org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:119)
        at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:44)
        ... 12 more
--- Nested Exception ---
org.codehaus.xfire.gen.GenerationException: Error generating JAXB model.
        at 
org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSchemaSupport.java:108)
        at 
org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:119)
        at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:44)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Total time: 13 seconds

> 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.4
>
>         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