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 » WMBv6.1-> XMLNSC Validation using XMLNSC/MsgSet

Post new topic  Reply to topic
 WMBv6.1-> XMLNSC Validation using XMLNSC/MsgSet « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Thu Feb 11, 2010 8:49 am    Post subject: WMBv6.1-> XMLNSC Validation using XMLNSC/MsgSet Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Hi Guys,

Just wanted to clear one doubt in validating the message using XMLNSC/Message Set.

When i select those parameters, the message type is being disabled, how does the broker know if there are multiple definition files in the Message Set project. Do we need to specify on ESQL messagetype is so and so...
Is broker intelligent enough to detect the message type and validate against that particular definition file?
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
yaakovd
PostPosted: Thu Feb 11, 2010 9:21 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Hi

broker intelligent enough to detect the message type if you tell him what is the type, message set and parser

It does not matter how many definition files you have in message set project - you allways mantion particular type. MB generate single dictionary with all types when compile bar-file.

Other question if you need validation against MRM or xsd?
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Feb 11, 2010 10:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The XMLNSC parser can identify messages based on the root tag.
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Feb 11, 2010 11:02 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

cool.

I am experiencing the problem in how to embed the space in pattern.
Message set it is not allowing the spaces when i put the pattern defined as follows.

I have placed a space between . and ,

Code:
<xs:element name="Customer_First_Name" nillable="false">
                        <xs:simpleType>
                           <xs:restriction base="xs:string">
                              <xs:minLength value="1"/>
                               <xs:maxLength value="10"/>
                              <xs:pattern value="([a-zA-Z'. ,-])+"/>
                           </xs:restriction>
                        </xs:simpleType>
                     </xs:element>

_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 11, 2010 11:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's no problem to do that at all. It works exactly like it is documented.
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Feb 11, 2010 11:10 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

but the flow is not accepting when " " only space is sent. am i doing something wrong?
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Feb 11, 2010 1:52 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I have placed a space between . and ,
If you use [code] tags, the space will become obvious, and the entire XSD snippet will be much easier to read.

Just sayin'
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 11, 2010 7:09 pm    Post subject: Reply with quote

Grand High Poobah

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

@ broker_new put the code tags for you as you're relatively new... next time you're on your own!
_________________
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 » WMBv6.1-> XMLNSC Validation using XMLNSC/MsgSet
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.