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 » Updating imported XML Schema File ?

Post new topic  Reply to topic Goto page 1, 2  Next
 Updating imported XML Schema File ? « View previous topic :: View next topic » 
Author Message
bdaoust
PostPosted: Fri Jul 19, 2013 7:38 am    Post subject: Updating imported XML Schema File ? Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 19, 2013 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bdaoust
PostPosted: Fri Jul 19, 2013 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 19, 2013 7:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bdaoust wrote:
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.


The roadmap specifies nine days of training (ten for classes taken in India); here are the two classes after the bootcamp:

https://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM664

https://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM674


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.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jul 20, 2013 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sat Jul 20, 2013 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
bdaoust
PostPosted: Mon Jul 22, 2013 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 22, 2013 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jul 22, 2013 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 22, 2013 10:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jul 22, 2013 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 22, 2013 10:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Mon Jul 22, 2013 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 22, 2013 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 22, 2013 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Updating imported XML Schema File ?
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.