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 » RCD not working properly

Post new topic  Reply to topic
 RCD not working properly « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Wed Nov 07, 2007 7:57 am    Post subject: RCD not working properly Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi All,

I am using a RCD node to first convert the received xmlns domain message to blob.Inside the compute node after validation,i create a MRM domain.When i use another RCD node to convert the receivedMRM domain back to xmlns,it does that but adds MRM as the firstchild and then the messsage body. Any clues what is the problem.

Regards
brgmo.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 07, 2007 8:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Why convert from XMLNS to BLOB, then to MRM, then to XMLNS agan? What does that achieve? If you're trying to validate, use MRM & have done.

I'd theorise there's an error in the MRM definition.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
brgmo
PostPosted: Wed Nov 07, 2007 9:44 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

I am validating using MRM but my compute node afterwards looks for messages in xmlns domain and finds messages in mrm domain and that's why i want to convert that back to xmlns but i am not able to do so.can you guess what is the problem is.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Nov 07, 2007 11:02 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I dunno the exact reason for the problem but as a quick solution you can set the MRM to NULL if thiat is creating a problem. I will try to recreate the problem and see.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Vitor
PostPosted: Wed Nov 07, 2007 11:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

brgmo wrote:
I am validating using MRM but my compute node afterwards looks for messages in xmlns domain


Again I ask why? Once in MRM why not manipulate the tree in the compute node? Why translate back into XMLNS?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 07, 2007 3:31 pm    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
brgmo wrote:
I am validating using MRM but my compute node afterwards looks for messages in xmlns domain


Again I ask why? Once in MRM why not manipulate the tree in the compute node? Why translate back into XMLNS?


Because validation was an "afterthought" and the rest of the nodes are already built using XMLNS...?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Nov 08, 2007 5:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I agree with Vitor. Just use the MRM domain in the entire message flow. Even if that means changing the Compute node.

As brgmo has already found out, the message tree which the MRM XML parser builds is a very different shape to the one which XMLNS builds. The RCD node does not automatically change the shape of the existing message tree when you change from MRM to XMLNS.

Users who have taken the advice on this forum and used XMLNSC will find it much easier to retro-fit validation to an XML message flow, because the v6.1 XMLNSC parser offers proper XML Schema validation.
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 » RCD not working properly
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.