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 » Validation properties

Post new topic  Reply to topic
 Validation properties « View previous topic :: View next topic » 
Author Message
ktg
PostPosted: Wed Oct 19, 2011 3:00 am    Post subject: Validation properties Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

Hi All,

What is the difference in validation when message validation is specified as "Content" and "Content and value" for input nodes?
What would be their performance impact?

The info center and search didn't help much. Could you please, explain with an example.

Thanks,
Kalpana
Back to top
View user's profile Send private message AIM Address
lancelotlinc
PostPosted: Wed Oct 19, 2011 4:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Performance impact is negligible. Content validates the structure and content+value validates the structure as well as the data contained inside the structure. Choose content+value unless you want to accept SOAP requests that do not conform strictly to your WSDL or XSD.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Wed Oct 19, 2011 4:36 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

lancelotinc said:
Quote:
Choose content+value unless you want to accept SOAP requests that do not conform strictly to your WSDL or XSD.

That's good advice regardless of whether you're using SOAP. It applies to XML and text/binary data as well.
'Content' checks the simple data values against the schema facets ( i.e. it checks lengths, enumerations and ranges )
'Content and value' checks that the elements are declared in the schema and they obey the min/maxOccurs settings.

I would advise you to choose 'Content and value' always.
Back to top
View user's profile Send private message
ktg
PostPosted: Wed Oct 19, 2011 10:21 pm    Post subject: Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

Many thanks for the attention and response:)

-Kalpana
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Validation properties
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.