Author |
Message
|
akidase |
Posted: Wed Mar 05, 2014 12:08 am Post subject: Message Model - WSDLs Create and re-create? |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
Although the WSDL doesn't change, the underlying schemas frequently change in my project.
I am using Message Broker v8. Should I generate the Message Model by selecting WSDL that will have the schemas or ? and expect it to get overridden or ?
Please let me know the easiest way to go about this.
Please help.  |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Mar 05, 2014 12:46 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
Importing the entire WSDL is a good way to produce changes in your message model that go *unnoticed*, in my opinion. You can miss out on important changes to mappings, for one thing. If importing a single XSD suffices, then that's the way I'd go.
On the other end, I would work on producing a message model that does not *require* as many changes during the project. A well thought-out canonical model, that encompasses as many as possible projected future changes.
Remember: change is never a good thing. _________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 05, 2014 5:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Change is a great thing. You need to get used to making changes rapidly, quickly, but SENSIBLY.
Canonical data models are excellent sources of documentation, and a great way to explain the contents of data dictionaries.
It's a terrible idea to pass business objects based on a canonical data model across the wire.
Or, why CORBA is still a bad idea. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Mar 05, 2014 5:44 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
mqjeff wrote: |
Change is a great thing. |
I was thinking of "Wait, before you deploy that, I just thought of another neat thing to have in our contract!"
mqjeff wrote: |
It's a terrible idea to pass business objects based on a canonical data model across the wire. |
I think I know what you mean, but I'd still like to hear you explain it. Would you? _________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 05, 2014 5:47 am Post subject: Re: Message Model - WSDLs Create and re-create? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
akidase wrote: |
Please let me know the easiest way to go about this. |
The easiest way is to select the WSDL & hope it all works.
The best way is to combine the refresh of the message model with a robust and ideally automated regression test procedure to ensure that the only changes are the ones you expect & none that you don't (synergistic errors from the change). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 05, 2014 5:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Gralgrathor wrote: |
I think I know what you mean, but I'd still like to hear you explain it. Would you? |
Not without a beer in front of me. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Mar 05, 2014 6:31 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
I suppose that's not just reasonable but highly desirable from a certain perspective. For me it's a Talisker. Too bad it's only Wednesday. _________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 05, 2014 6:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Gralgrathor wrote: |
I suppose that's not just reasonable but highly desirable from a certain perspective. For me it's a Talisker. Too bad it's only Wednesday. |
Talisker is nice, if one can't find a good bourbon. |
|
Back to top |
|
 |
|