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 » Validating incoming message against XSD in WMB 6.0

Post new topic  Reply to topic
 Validating incoming message against XSD in WMB 6.0 « View previous topic :: View next topic » 
Author Message
santy
PostPosted: Mon Apr 16, 2007 1:48 am    Post subject: Validating incoming message against XSD in WMB 6.0 Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Hi,
We need to parse a XML file against the availble XSD. Please could anyone let us know how do we do this in WMB6.0
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Apr 16, 2007 2:12 am    Post subject: Re: Validating incoming message against XSD in WMB 6.0 Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

santy wrote:
Hi,
We need to parse a XML file against the availble XSD. Please could anyone let us know how do we do this in WMB6.0



First option :

You can use for this MRM.

Just create Message Definition from XSD.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Mon Apr 16, 2007 2:19 am    Post subject: Re: Validating incoming message against XSD in WMB 6.0 Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Second Option:

If XSD is not static you can use JAVA.

Just use JAVACompute node inside your flow.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
kimbert
PostPosted: Mon Apr 16, 2007 3:25 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
You can use for this MRM.

Just create Message Definition from XSD.
Well, there's a little more to it than that
- Create a message set
- Import the XSD(s) to create one or more message definition files
- On the input node properties, set Validation to 'Content and Value'

You can set the Validation property on other nodes as well ( conceptually, validation operates on a message tree ).
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Apr 16, 2007 8:14 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

kimbert wrote:


Well, there's a little more to it than that
- Create a message set
- Import the XSD(s) to create one or more message definition files
- On the input node properties, set Validation to 'Content and Value'

You can set the Validation property on other nodes as well ( conceptually, validation operates on a message tree ).



Of curse.
I know.

For me the rest was obvious.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Mon Apr 16, 2007 11:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can also download the support pack that gives you the XML Validator node,
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24010092&loc=en_US&cs=utf-8&lang=en
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
santy
PostPosted: Tue Apr 17, 2007 5:30 am    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Thanks to all of you.
The issue has been resolved.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 17, 2007 6:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So which option did you choose?
_________________
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 » Validating incoming message against XSD in WMB 6.0
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.