Author |
Message
|
pcelari |
Posted: Wed Feb 07, 2007 12:18 pm Post subject: can MRM XML msg contain variable XML subtree? |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
I defined a MRM msgset SvcEnv that represent the envelop of a typical msg:
<?xml version="1.0" encoding="UTF-8"?>
<mc:Message xmlns:mb="http://ei.MyCo.com/MB" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<mc:MessageHeader> <mc:ServiceName></mc:ServiceName>
<mc:ServiceProvider>MyCo</mc:ServiceProvider>
...
</mc:MessageHeader>
<mc:BusinessData>
</mc:BusinessData>
</mc:Message>
Here, the node mc:BusinessData may contain a variety local elements depending upon the content of the node mc:ServiceName, like
mc:ServiceName: GetOrderInfo
will be accompanied with an Order subtree
<Order>
<OrderID>1234</OrderID>
<ItemList>
<Item>Oral-B Toothbrush</Item>
<Item>Lip Pen</Item>
...
</ItemList>
<Order>
However, the structure of the subtree of mc:BusinessData is pretty dynamic.
I noticed the broker has difficulty parsing the unregistered portion of the msg that is not contained in the MRM msgset.
So is that possible to use an MRM msgset as envelop? _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 07, 2007 12:23 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 07, 2007 2:22 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
martc |
Posted: Thu Feb 08, 2007 9:32 am Post subject: |
|
|
Apprentice
Joined: 23 Mar 2005 Posts: 39
|
|
Back to top |
|
 |
pcelari |
Posted: Mon Feb 12, 2007 11:00 am Post subject: |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
many thanks for the links. It seems I still have a lot of homework to do to change my major.
While receiving all the generous help from you all, I noticed somewhere in between I became an "acolyte". I wonder how much I can yet "assist"? and how far is it still from a G.M.?  _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 12, 2007 11:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's a strict function of your number of posts.
I think grand master is at 500.
Grand Poobah apparently is at 10,000. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|