Author |
Message
|
sivaguru |
Posted: Sun Jun 22, 2008 9:02 pm Post subject: Help on Setting Properties Dynamically |
|
|
Apprentice
Joined: 18 Jun 2008 Posts: 40
|
Hi,
We are beginners in Msg Broker v6.
1. Samples on Setting Properties Dynamically in the Esql file.
2. Samples on how to attach / detach a namespace in the normal
Compute node (esql).
Please help us, as it of greater need to complete our assignment. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Jun 22, 2008 9:08 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
i fear you may not find samples dedicated exclusively for these.... and m not sure which samples do cover these....
so have a look at user defined properties for : Setting Properties Dynamically in the Esql file.
Have a look at declaring namespace for : how to attach / detach a namespace in the normal Compute node (esql). _________________ Cheers |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Jun 22, 2008 9:50 pm Post subject: And before someone else says it |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Get some proper training.
Broker is a pretty complex beastie.
You seem to be asking for the keys to the magic circle before you can say 'Just Like That'.
If you want to ask questions here please be more specific.
- What sort of properties do you want to set
- Why do you want to detach a namespace
There are often many ways to arrive at a solution with Broker and will if you give more details then any answers you get may well be more applicable to your requirements that a general purpose answer.
Finally, please search WBI help, this (& other) forum(s) for an answer before asking a question. _________________ 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 |
|
 |
sivaguru |
Posted: Sun Jun 22, 2008 10:34 pm Post subject: |
|
|
Apprentice
Joined: 18 Jun 2008 Posts: 40
|
Hi ,
Please confirm whether the below code would generate the following xml with the namespace. As we are not sure of the namespace coding, please help us .
While saving we are getting the below warning
"Namespace Constant Ns is not defined "
Code
-------
DECLARE Ns NAMESPACE 'http://www.sample.org/b2b/message';
SET OutputRoot.XMLNSC.Ns:Messages.(XMLNSC.NamespaceDecl)xmlns = 'http://www.sample.org/b2b/message';
SET OutputRoot.XMLNSC.Ns:Messages.(XMLNSC.NamespaceDecl)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance';
SET OutputRoot.XMLNSC.Ns:Messages.(XMLNSC.NamespaceDecl)xsi:schemaLocation = 'http://www.sample.org/b2b/message ErrorSegment.xsd';
XML
------
<Messages xmlns="http://www.sample.org/b2b/message" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sample.org/b2b/message
C:\ErrorSegment.xsd" >
....
</Messages> |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Jun 23, 2008 3:36 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
sivaguru |
Posted: Mon Jun 23, 2008 4:09 am Post subject: |
|
|
Apprentice
Joined: 18 Jun 2008 Posts: 40
|
Hi,
Yes sorry for that. The reason why I have created a new post is the current topic of this post is "Help on Setting Properties Dynamically" which is not related to Namespace issue, so i created the new one.
I apologize for that. |
|
Back to top |
|
 |
|