Author |
Message
|
wmbv7newbie |
Posted: Mon Jul 14, 2014 3:54 am Post subject: WMB V8 Mapping Node - references |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
Hi,
I am using wmb v8.0.0.2.
I have created a library which has message models using the relevant schemas (.xsd files).
Another application is referencing this library. In one of the message flows in this application, I am using a mapping node. While creating the map for this, I do not get the option of the schemas that are present in the library.
Any ideas?
Thanks! |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jul 14, 2014 4:44 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Multiple applications can reference the schemas library project.
Have you tried adding if as a reference? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
wmbv7newbie |
Posted: Mon Jul 14, 2014 4:57 am Post subject: |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
Quote: |
Have you tried adding if as a reference? |
Sorry to ask but, can you please clarify what are you asking to reference in what?
The library having the schemas is already added as reference to the message flow using the mapping node, as I have stated before. |
|
Back to top |
|
 |
martinb |
Posted: Mon Jul 14, 2014 5:22 am Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
When you view your Application in the the "Application Development" view can you expend and confirm the tree shows the contained Library, and that in turn shows the contained Schema files?
If that is so, then review your schema, the Mapping node top level map (ie not a submap) requires a global element definition. Perhaps you schema only has type definitions? |
|
Back to top |
|
 |
wmbv7newbie |
Posted: Mon Jul 14, 2014 5:40 am Post subject: |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
I am not able to paste an image from my local showing the tree structure. Are images uploaded on web allowed only?
I have two xsds. One has all the type definitions and other has the elements. They have namespaces defined. Could the namespace be an issue?
Thanks! |
|
Back to top |
|
 |
wmbv7newbie |
Posted: Tue Jul 15, 2014 6:30 am Post subject: |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
So, the issue was solved when I removed the reference of another xsd for type definitions. I am now using only one xsd for all declarations and definitions and this solved my problem.
Still, I would be interested if anybody has has insights as to why I couldn't use two xsds. |
|
Back to top |
|
 |
martinb |
Posted: Tue Jul 15, 2014 8:21 am Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
Hi Good to hear you are up and running.
It is valid and supported to use schema with import / includes to other schema files in the same Library.
It sounds like you must have had some issue in your import. |
|
Back to top |
|
 |
|