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 » can MRM XML msg contain variable XML subtree?

Post new topic  Reply to topic
 can MRM XML msg contain variable XML subtree? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Wed Feb 07, 2007 12:18 pm    Post subject: can MRM XML msg contain variable XML subtree? Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 07, 2007 12:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes.

Look in the DevWorks Broker site for articles on working with SOAP messages.

For example, http://www-128.ibm.com/developerworks/websphere/library/techarticles/0610_henley/0610_henley.html
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 07, 2007 2:22 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

...and this doc topic might be useful as well:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ad00761_.htm
Back to top
View user's profile Send private message
martc
PostPosted: Thu Feb 08, 2007 9:32 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Hi;

Yes. WHat I think you are describing is a typical 'Multipart' message. See:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/com/ibm/broker/plugin/MbElement.html

Multipart messages are quite tricky to put together. You may look at a samples galery 'FIX Message Set' to give you some understanding.
Back to top
View user's profile Send private message
pcelari
PostPosted: Mon Feb 12, 2007 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 12, 2007 11:02 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » can MRM XML msg contain variable XML subtree?
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.