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 » A Message Set can not contain two global type definitions

Post new topic  Reply to topic
 A Message Set can not contain two global type definitions « View previous topic :: View next topic » 
Author Message
tatyeong
PostPosted: Wed Sep 15, 2010 6:51 am    Post subject: A Message Set can not contain two global type definitions Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

Hi,

I have a message flow that uses an SAP inbound adapter and convert the idoc into XML before putting in a MQ queue.

Recently there is an additional field added to the IDOC structure. Instead of regenerating the message set using the SAP adapter wizard, I manually added the new field in one of the mxsd file.

When I clean and rebuild the message set project, I get the following error. Even as I undo the changes by restoring the original mxsd file, I am still getting the same error.

Code:

A Message Set can not contain two global type definitions with the same name and namespace (target or chameleon): 'http://www.xyz.com/types/crm/sapzmdbupainboundmainsave01z201tbuseibupatelephone000#SapZMdBupaInboundMainSave01Z201tBusEiBupaTelephone000'                MSP_CRM_BPandBPRFromCRM/MS_CRM_BPandBPRFromCRM/com/xyz/www/types/crm/sapzmdbupainboundmainsave01z201tbuseibupatelephone000                SapZMdBupaInboundMainSave01Z201tBusEiBupaTelephone000.mxsd  line 548 


Can anyone tell me what this error means, and how do I correct the error?

Appreciate any help on this
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 15, 2010 11:19 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

It means exactly what it says. What don't you understand?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Sep 15, 2010 11:25 am    Post subject: Re: A Message Set can not contain two global type definition Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

tatyeong wrote:
Hi,

I have a message flow that uses an SAP inbound adapter and convert the idoc into XML before putting in a MQ queue.

Recently there is an additional field added to the IDOC structure. Instead of regenerating the message set using the SAP adapter wizard, I manually added the new field in one of the mxsd file.

When I clean and rebuild the message set project, I get the following error. Even as I undo the changes by restoring the original mxsd file, I am still getting the same error.



Wrong way, dont do it atleast this kind of manipulation for IDocs later at one point you will get more errors.

its better to re-discover the idoc BO from SAP, how did you confirm the headers of SAP IDoc, did any ABAP developed told you this, i am damn sure there you might have went wrong.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
tatyeong
PostPosted: Thu Sep 16, 2010 4:59 am    Post subject: Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

I guess there is no shortcut. I did get the Idoc header from the ABAP developer.

Anyway, I regenerate the BO and all is fine.

Thanks
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Sep 16, 2010 5:43 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

tatyeong wrote:
I guess there is no shortcut. I did get the Idoc header from the ABAP developer.

Anyway, I regenerate the BO and all is fine.

Thanks


its better to discover the BO from SAP ECC rather than updating manually.

the reason is ABAP developer do a lot of version changes on SAP Side.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » A Message Set can not contain two global type definitions
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.