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 » MRM messages once again

Post new topic  Reply to topic Goto page Previous  1, 2
 MRM messages once again « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Wed Aug 01, 2007 1:56 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

Quote:
So once again - is it possible to say explicitly (in SET or somwhere) what the namespace should be used by broker?
Of course. You either provide the full namespace URI on the SET statement, or you define a namespace constant and use that.

When you are copying from InputRoot to OutputRoot I would expect the namespace to be copied automatically. However, you are already in a situation where unexpected things are happening. So please do the following:
- Add a Trace node after the input node
- Add a Trace node before the output node
- Set the 'Destination' property on both Trace nodes to 'User Trace'
- Set Pattern to ${Root} on both Trace nodes
- Post the resulting user trace
- Post the contents of the relevant mxsd file ( unless it is absolutely huge )
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 01, 2007 2:03 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Hrm.

MRM takes Namespace qualifiers?

Okay.


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 01, 2007 2:52 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

jefflowrey wrote:
Hrm.

MRM takes Namespace qualifiers?

Okay.

V6 it does, possibly even V5 but Kimbert would know that way better than me...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Aug 02, 2007 1:33 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

Quote:
MRM takes Namespace qualifiers?
Namespaces are used in at least 3 ways in WMB.
a) in the message tree, as the NAMESPACE property of any syntax element
b) in the message tree, as a special 'namespace declaration' syntax element ( XMLNS and XMLNSC only )
c) in the message model

I'm referring to a). pawel_janowski can explicitly set the namespace of OutputRoot.MRM.Header.processingTimestamp if he wants to.
Back to top
View user's profile Send private message
pawel_janowski
PostPosted: Thu Aug 02, 2007 5:19 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

Hi!
Finally I've managed to trap the problem. It was quite simple (to fix, not to find) - all complex datatypes were defined as sequences and the message tree was build in improper order (I had all elements in the tree but in incorrect order). That's why broker could not recognize the message.

Thanks to jefflowrey and kimbert for responses.

Regards.

Pawel
_________________
Pawel Janowski
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 02, 2007 9:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

pawel_janowski wrote:
Hi!
Finally I've managed to trap the problem. It was quite simple (to fix, not to find) - all complex datatypes were defined as sequences and the message tree was build in improper order (I had all elements in the tree but in incorrect order). That's why broker could not recognize the message.

Thanks to jefflowrey and kimbert for responses.

Regards.

Pawel


I have found that a validation node and a trace node on the catch of the validation will help no ends. The Exception Tree will hold some information (at least down to the last recognized node) and even tell sometimes what node is missing/expected, while $Root will show how the message tree is built....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MRM messages once again
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.