Author |
Message
|
next |
Posted: Wed Mar 09, 2011 4:42 am Post subject: Message Set gives xsdzip while building bar in Toolkit V7 |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
Hi
We have a message set which works fine in toolkit 6 and while building the bar file.
But when we build a bar file using toolkit 7, instead of a .dictionary file, it gives a .xsdzip file.
Could anyone please let me know if there is a solution?
Regards,
Suresh. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Mar 09, 2011 4:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
At runtime, the XMLNSC domain requires XML Schema if validating, the DataObject domain requires XML Schema and the SOAP domain requires XML Schema and WSDL. For these domains an .xsd file is generated from each message definition file. The .xsd files are zipped into a single .xsdzip file. The .xsdzip file is added to the .bar file. Additionally for SOAP, all .wsdl files are added to the .xsdzip file.
What solution are you looking for? What is the problem? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
next |
Posted: Wed Mar 09, 2011 5:02 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
The problem for me is the .dictionary is not getting generated in the bar file.
If i deploy the bar, then it is not having the message set but the xsdxip file. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 09, 2011 5:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Please explain how this causes a problem.
This is correct and expected behavior and will not affect the validation of your message data.
What error or issue do you receive because you deploy an xsdzip rather than a .dictionary? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Mar 09, 2011 5:08 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
What is the error that is generated when you deploy the BAR file? What version level / OS is the Broker runtime you are deploying the BAR file to? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
next |
Posted: Wed Mar 09, 2011 5:12 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
I dont get any error while deploying the bar file. It goes well with the xsdxip file.
The broker is version 7.0.0 and is hosted in unix. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Mar 09, 2011 5:13 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
If you dont get any error, what is the problem? Does the v7 Broker runtime correctly process your message? 7.0.0.what ? 1? 2? 0? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
next |
Posted: Wed Mar 09, 2011 5:29 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
@mqjeff : Do you mean to say it is just fine if i just deploy the xsdzip file instead of the dictionary?
My messages are failing that way with dictionary not found exception  |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Mar 09, 2011 5:33 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 09, 2011 5:42 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
kimbert |
Posted: Wed Mar 09, 2011 7:17 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Go to your message set, find the file 'messageSet.mset' and open it.
In the editor, find the 'Other supported encodings' section. Tick the 'MRM' box.
Refresh your BAR file, and you will now find a .dictionary file in it.
Explanation:
The MRM parser requires a .dictionary file.
The XMLNSC, SOAP and DataObject domans require a .xsdzip file
The BAR file builder only creates the files that are required, based on the list of domains in the message set. |
|
Back to top |
|
 |
|