ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » global type exists more than once

Post new topic  Reply to topic
 global type exists more than once « View previous topic :: View next topic » 
Author Message
jfecq
PostPosted: Mon Nov 05, 2012 2:13 am    Post subject: global type exists more than once Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 05, 2012 8:07 am    Post subject: Re: global type exists more than once Reply with quote

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
View user's profile Send private message Send e-mail
jfecq
PostPosted: Mon Nov 05, 2012 5:38 pm    Post subject: Re: global type exists more than once Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 05, 2012 11:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

No you're good.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » global type exists more than once
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.