|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
global type exists more than once |
« View previous topic :: View next topic » |
Author |
Message
|
jfecq |
Posted: Mon Nov 05, 2012 2:13 am Post subject: global type exists more than once |
|
|
Apprentice
Joined: 24 Sep 2012 Posts: 36
|
Hi,
I had created xsd for message models in the broker. However, as some Java objects extends a parent class, I am facing the problem as below.
Quote: |
Global type {}[replaced] in project [replaced] exists more than once within the Library [replaced]
|
Java classes
Code: |
MyParent {}
Child1 extends MyParent {}
Child2 extends MyParent{}
Can anyone guide me to solve this? Thanks! |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 05, 2012 8:07 am Post subject: Re: global type exists more than once |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jfecq wrote: |
Hi,
I had created xsd for message models in the broker. However, as some Java objects extends a parent class, I am facing the problem as below.
Quote: |
Global type {}[replaced] in project [replaced] exists more than once within the Library [replaced]
|
Java classes
Code: |
MyParent {}
Child1 extends MyParent {}
Child2 extends MyParent{}
Can anyone guide me to solve this? Thanks! |
|
I don't think this is java related. Usually you get this as a schema related issue.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jfecq |
Posted: Mon Nov 05, 2012 5:38 pm Post subject: Re: global type exists more than once |
|
|
Apprentice
Joined: 24 Sep 2012 Posts: 36
|
fjb_saper wrote: |
jfecq wrote: |
Hi,
I had created xsd for message models in the broker. However, as some Java objects extends a parent class, I am facing the problem as below.
Quote: |
Global type {}[replaced] in project [replaced] exists more than once within the Library [replaced]
|
Java classes
Code: |
MyParent {}
Child1 extends MyParent {}
Child2 extends MyParent{}
Can anyone guide me to solve this? Thanks! |
|
I don't think this is java related. Usually you get this as a schema related issue.  |
Could you guide me or point me to some resources for that?
What I do now is manually extract the duplicate types into a common.xsd, and import into each other xsd. Of course I think I can generate a script for that, but I thought of checking the standard way to do this. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 05, 2012 11:10 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
No you're good.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|