Posted: Fri Aug 18, 2006 6:40 am Post subject: Message Set Creation
Apprentice
Joined: 23 Apr 2005 Posts: 42
Hi
I am having a small problem creating the message set.The problem is i have two xsd files.I have imported them into the same message set and created the message definition files.The problem i am having is some of the global elements in the two message definition files are same.So it gives me an error saying duplicate global elements.
I need to have these two mxsd files in the same message set as i am going to reference these elements in another mxsd file which is also in the same message set.So is there any work around for solving these duplicate element issue.I cannot change the name of the element.
some of the global elements in the two message definition files are same
There is no workaround for this, but that's OK because your schemas are going to cause problems everywhere, not just in Message Broker. You should assign a namespace to each of the schemas to avoid the name clash - that's what namespaces were invented for.
If the elements are representing exactly the same thing ( i.e. the element declaration has been duplicated ) then you should factor out the common definitions into another schema, and either include or import the common schema in the other two.
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