|
|
| Re: naming conflict on generating classes from xsd [message #1016363 is a reply to message #1016272] |
Wed, 06 March 2013 04:00  |
moritz du Messages: 98 Registered: February 2010 |
Member |
|
|
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)
Attachment: xsd.7z
(Size: 10.02KB, Downloaded 10 times)
[Updated on: Wed, 06 March 2013 04:03] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01499 seconds