Author |
Message
|
bdaoust |
Posted: Fri Jul 19, 2013 7:38 am Post subject: Updating imported XML Schema File ? |
|
|
Centurion
Joined: 23 Sep 2010 Posts: 130
|
I've created a message model by importing the XML schema file give to me by the developer.
The developer has been several changes. I can update the message definition in toolkit manually , but was wondering if I can just reimport the schema file?
If I delete the original definition file and just do a reimport, I don't think that is ideal because I need to remap everything in any mapping nodes that use the definition file.
I don't see any obvious way of importing a new schema file that updates and existing message definition.
Am I missing something?
WMB 7.0 |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jul 19, 2013 7:41 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Version numbers have 4 digits. 7.0 is not complete version number.
Yes, you re-import the schema. Do not make manual changes.
This technique is taught in the class. You really should go. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
bdaoust |
Posted: Fri Jul 19, 2013 7:49 am Post subject: |
|
|
Centurion
Joined: 23 Sep 2010 Posts: 130
|
What class do you recommend? I went to what I believe was a boot camp class IBM had several years ago and wasn't impressed. Perhaps because it was a boot camp although it was a week long. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jul 19, 2013 7:54 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Sat Jul 20, 2013 2:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
it really seems much easier to me to just try a couple of things and see what happens, rather than make a post here and wait for enlightenment.
perhaps that's simply too oldschool of me.
Really, did you just *try* reimporting the schema? |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Jul 20, 2013 5:24 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
it really seems much easier to me to just try a couple of things and see what happens, rather than make a post here and wait for enlightenment.
perhaps that's simply too oldschool of me.
Really, did you just *try* reimporting the schema? |
No really oldschool mqjeff. You are just thinking for yourself which IMHO is sadly lacking in a lot of people in this Industy these days.
 _________________ 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 |
|
 |
bdaoust |
Posted: Mon Jul 22, 2013 9:19 am Post subject: |
|
|
Centurion
Joined: 23 Sep 2010 Posts: 130
|
mqjeff:
I did try a bunch of different things. I just didn't see any way of updating an already importing schema file that was used to build the original definition file.
The only way I was able to reimport the file was to delete the original definition file, which broke any messagemaps I had already. So, I don't think I'm doing it correctly. I should not have to remove the original definition file.
I poked around InfoCenter for a topic about updating imported schemas, but nothing stood out at me. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 22, 2013 9:35 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
bdaoust wrote: |
mqjeff:
I did try a bunch of different things. I just didn't see any way of updating an already importing schema file that was used to build the original definition file.
The only way I was able to reimport the file was to delete the original definition file, which broke any messagemaps I had already. So, I don't think I'm doing it correctly. I should not have to remove the original definition file.
I poked around InfoCenter for a topic about updating imported schemas, but nothing stood out at me. |
You don't need to delete anything. Simply re-import the changed schema over the old schema.
Again - this technique is taught in the WM664 class and described in the InfoCentre if you would consult Google:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fdf20073_.htm
bdaoust wrote: |
I poked around InfoCenter for a topic about updating imported schemas, but nothing stood out at me. |
Poking around and using Google are different activities. Two things are indispensable to WMB developers: reading files produced by Trace nodes and using Google. If you can't become good at either of these two skills, you might consider a different vocation (Java programmer).
mqjeff wrote: |
it really seems much easier to me to just try a couple of things and see what happens, rather than make a post here and wait for enlightenment. perhaps that's simply too oldschool of me. Really, did you just *try* reimporting the schema? |
W-O-R-D Even when its spelled out, some people have difficulty. Maybe Java programming is in your future?
awiseguy wrote: |
Training is an interactive proposition. If you sit there and zone out, you won't learn much. You must actively engage and dialogue with the instructor and the other students. You must actually participate and execute fully the lab exercises. |
Passive and quiet people don't make for good WMB developers. Active and strong people who impose their will on their co-workers and environment tend to go further in this career. Culturally, WMB developers need to be Viking-conquerors (ie. non-passive). _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 22, 2013 9:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You mean that you were prevented from selecting the new schema file on the file system when you right clicked on the project or application or library in Toolkit, and chose "import"?
Or you mean that after you deleted the file, and then imported it again using the above procedure, and then did a clean build on your projects, that the maps were still broken?
I disagree with lancelotlinc. Poking around in the Info Center is an excellent skill to have. It saves time with Google searches and teaches you how to quickly find the right thing with a couple of clicks rather than having to remember which keywords you used the last time you found the thing you wanted that was mostly what you're trying to do now. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 22, 2013 10:03 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
mqjeff wrote: |
I disagree with lancelotlinc. Poking around in the Info Center is an excellent skill to have. It saves time with Google searches and teaches you how to quickly find the right thing with a couple of clicks rather than having to remember which keywords you used the last time you found the thing you wanted that was mostly what you're trying to do now. |
Could I add some clarity:
I said, Poking around and using Google are different. I often poke around the InfoCentre. The OP's poking around fell short. Searching for :
Code: |
/site:publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0 reimport schema |
yielded the correct page on the first try. How difficult was that?
Reimporting IBM supplied message models wrote: |
you can reimport them to overwrite your changes |
Fifty years from now, someone will ask you if you remember Lancelotlinc ? You may likely reply: Oh yes, how could I forget ? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 22, 2013 10:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
lancelotlinc wrote: |
Fifty years from now, someone will ask you if you remember Lancelotlinc ? You may likely reply: Oh yes, how could I forget ? |
Fifty years from now, I expect to have been dead for several years.
I sincerely hope that nobody is asking me anything at that point, and more importantly that I am not responding. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 22, 2013 10:34 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
mqjeff wrote: |
lancelotlinc wrote: |
Fifty years from now, someone will ask you if you remember Lancelotlinc ? You may likely reply: Oh yes, how could I forget ? |
Fifty years from now, I expect to have been dead for several years.
I sincerely hope that nobody is asking me anything at that point, and more importantly that I am not responding. |
I dunno. I saw the Arnold Schwarzenegger movie 'Cloned' last night. Seems feasible to me. I may write a Broker flow to capture the mem-data record. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jul 22, 2013 11:20 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The last thing we need is a clone of LancelotLinc  _________________ 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 |
|
 |
Vitor |
Posted: Mon Jul 22, 2013 11:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
The last thing we need is a clone of LancelotLinc  |
One could question the utility of the original. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 22, 2013 11:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Culturally, WMB developers need to be Viking-conquerors (ie. non-passive). |
Violent, intolerant and governed by the might = right principle?
Someone tell Hursley they can stop building all those team collaboration tools, and start working on a USB-powered axe sharpener. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|