Thank you very much Blaise - it worked perfectly! (before i came here i read some of your xsd blogs that helped much already
)
are there any examples or tutorials about xjb? because i have to solve some more complex problems:
[ERROR] A class/interface with the same name "....generatedClasses.invoice.g
eneral430.request.ReferenceType" is already in use. Use a class customization to resolve this conflict.
line 97 of file:/.../xmldsig-core-schema.xsd
[ERROR] (Relevant to above error) another "ReferenceType" is generated from here.
line 118 of file:/.../xenc-schema.xsd
[ERROR] A class/interface with the same name "....generatedClasses.invoice.g
eneral430.request.TransformsType" is already in use. Use a class customization to resolve this conflict.
line 109 of file:/.../xmldsig-core-schema.xsd
[ERROR] (Relevant to above error) another "TransformsType" is generated from here.
line 64 of file:/.../xenc-schema.xsd
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 64 of file:/.../xenc-schema.xsd
[ERROR] (Related to above error) This is the other declaration.
line 109 of file:/.../xmldsig-core-schema.xsd
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 118 of file:/.../xenc-schema.xsd
[ERROR] (Related to above error) This is the other declaration.
line 97 of file:/.../xmldsig-core-schema.xsd
Failed to produce code.
this happen if i try to bind one of the four files "generalInvoiceRequest_430.xsd", "generalInvoiceRequest_440", "generalInvoiceResponse_430.xsd", "generalInvoiceResponse_430.xsd" (see attachment)
[Updated on: Wed, 06 March 2013 04:03] by Moderator