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 » Replacing Validate Node with a Compute Node

Post new topic  Reply to topic
 Replacing Validate Node with a Compute Node « View previous topic :: View next topic » 
Author Message
newtobroker
PostPosted: Wed Feb 10, 2010 11:48 pm    Post subject: Replacing Validate Node with a Compute Node Reply with quote

Novice

Joined: 04 Feb 2010
Posts: 23

Hi,

I have to validate an XML that contains a namespace with a message set.
The XML looks like below. The Envelope does not contain namespace but the Test contains namespace and the message set name is TestMessageSet.

Code:

<Envelope>
<ID>A123</ID>
<Company>ABC</Company>
<o:Test xmlns:o="http://abcd.com/service/testing"><o:Name>Carol</o:Name><o:Addr>Addr123</o:Addr></o:Test>
</Envelope>


As of now I'm doing that in a lengthy way
-- Extract Test into a different XMLNSC message
-- Then i RCD to MRM
-- Then use Validate to validate the message

Is it possible to merge all these steps in one compute node by using ASBITSTREAM?

Thanks,
C*[/quote]
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Feb 10, 2010 11:53 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

if you are using MRM why do you want to validate it again..

i dont think its required.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Feb 11, 2010 12:58 am    Post subject: Re: Replacing Validate Node with a Compute Node Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

I dont get why this step is necessary:
newtobroker wrote:

Extract Test into a different XMLNSC message


And I guess your using a version prior to 6.1 else you'd validate in the XMLNSC domain right?
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Feb 11, 2010 1:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
As of now I'm doing that in a lengthy way
-- Extract Test into a different XMLNSC message
-- Then i RCD to MRM
-- Then use Validate to validate the message

The natural solution is:
a) create an XML schema (xsd) which describes your entire message.
b) create a message definition file from the xsd
c) use XMLNSC ( if on v6.1 or later ) or MRM XML ( if you must ) to validate the message.

If you don't know how to do a), then you should go through an online XML Schema tutorial. W3Schools has a good one.
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 » Replacing Validate Node with a Compute Node
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.