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 XML in SOAP Envelope

Post new topic  Reply to topic
 Validating XML in SOAP Envelope « View previous topic :: View next topic » 
Author Message
TonyD
PostPosted: Thu Nov 30, 2006 6:39 pm    Post subject: Validating XML in SOAP Envelope Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

We have a number of XML request/response messages that we need to validate. The messages are defined in enterprise schemas and we have created message definition files for them. Validation works fine.
However the messages may arrive either via MQInput or HTTPInput nodes and the HTTP requests and responses are enclosed in SOAP envelopes.
I don't want to include the SOAP elements in the message definitions that we use for validation. The HTTPInput therefore has Message Domain 'XMLNS' set, and I am then removing the SOAP envelope from the messages before passing them through a ResetContentDescriptor node to redefine the properties in order to validate the message.
I can then takes several approaches to parsing the structure to force validation, such as passing the message to a Trace node or an MQOuput node, but am wondering what would be the best way; these don't seem to be particularly tidy!
I would be interested to know if anyone else has had to deal with this requirement and the approach that they took.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Nov 30, 2006 7:32 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Ummm.

Setting Validation properties on the Compute node that extracts the body message...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 01, 2006 1:36 am    Post subject: Reply with quote

Grand High Poobah

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

jefflowrey wrote:
Ummm.

Setting Validation properties on the Compute node that extracts the body message...
and using the MRM domain! You can as well request validation on the content redescriptor node... setting the parse property to immediate...
_________________
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 Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Validating XML in SOAP Envelope
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.