Looking at this problem again, i think the duplicate classes are the cause of the error. Does anyone know why would JIBX create duplicate classes while doing code generation?
On Mon, 14 Feb 2011 16:01:04 -0500, Dmitri Rodik <dmi...@dmitri.tv> wrote: > Hi > > I'm having trouble creating bindings for webservices offered by a vendor. > There is 1 WSDL whose schema consists of 28 XSDs. When all those XSDs get > included as arguments for codegen, the binding phase fails. But when only > a > few are included (ie the first 1,2,3,4,5 XSDs are fine) binding passes. > Only when i include the 6th and beyond, binding starts to fail. > > Also during the codegen and compilation phase many duplicate files get > created like StrProps1, StrProps2, StrProps3 (when i include the 6th+). > This seems to be the source of the error I think. > > Here's the binding error: > > [bind] Error: Object type com.hp.schemas.ucmdb.types.LongCondition is > incompatible with binding for class com.hp.schemas.ucmdb.types.Condition1; > on structure element at (line 335, col 42, in ucmdb_1_typesBinding.xml) > [bind] Error: Object type com.hp.schemas.ucmdb.types.LongProp is > incompatible with binding for class com.hp.schemas.ucmdb.types.LongProp1; > on structure element at (line 336, col 112, in ucmdb_1_typesBinding.xml) > [bind] Error: References to structure object must have compatible > types: com.hp.schemas.ucmdb.types.LongCondition cannot be used as > com.hp.schemas.ucmdb.types.Condition1; on structure element at (line 335, > col 42, in ucmdb_1_typesBinding.xml) > [bind] Error: Object type com.hp.schemas.ucmdb.types.DoubleCondition > is incompatible with binding for class > com.hp.schemas.ucmdb.types.Condition1; on structure element at (line 341, > col 42, in ucmdb_1_typesBinding.xml) > [bind] Error: Object type com.hp.schemas.ucmdb.types.DoubleProp is > incompatible with binding for class > com.hp.schemas.ucmdb.types.DoubleProp1; > on structure element at (line 342, col 114, in ucmdb_1_typesBinding.xml) > [bind] Error: References to structure object must have compatible > types: com.hp.schemas.ucmdb.types.DoubleCondition cannot be used as > com.hp.schemas.ucmdb.types.Condition1; on structure element at (line 341, > col 42, in ucmdb_1_typesBinding.xml) > > How can i stop this duplicate creation and successfuly create bindings for > all the schema definition files? > > Thanks, > Dmitri ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users