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 » WTX Type Tree - Query

Post new topic  Reply to topic
 WTX Type Tree - Query « View previous topic :: View next topic » 
Author Message
me@tcs
PostPosted: Thu Feb 11, 2010 2:29 pm    Post subject: WTX Type Tree - Query Reply with quote

Novice

Joined: 22 Mar 2008
Posts: 18

Hi,

I am trying to create a type tree from an XML Schema using XML Schema importer for type trees.
I have a restrictions on a couple of fields in the XSD, like, a particular field can accept only "INS,"UPD" or "DEL" as the valid values. My xsd does not specify this restriction using xsd:enumeration or xsd:pattern.
Can I generate the type tree out the xsd and then manually edit the type tree to add restrictions?
My requirement is that my map has to fail on invalid values.

I am new to WTX and any help is greatly appreciated.

Thanks!
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 11, 2010 10:18 pm    Post subject: Reply with quote

Jedi

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

Yes you can add restrictions in Type Tree... its quite easy to do also.

learn about Restrictions - Range in Type Tree..
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
me@tcs
PostPosted: Fri Feb 12, 2010 10:12 am    Post subject: Reply with quote

Novice

Joined: 22 Mar 2008
Posts: 18

Thanks for the immediate reply..

I have already tried adding restrictions to the item in the type tree generated out of XML schema. But when I use this modified type tree in the map as an input card, it does not fail the map on invalid input for the field for which I have specified restrictions. Instead, the command server gives me the message "Input type contains error". It generates the output for all the fields except for the field with restrictions and invalid input.

Am i missing some setting like Map Validation settings or something?

Help greatly appreciated!
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Feb 16, 2010 8:17 am    Post subject: Reply with quote

Jedi

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

is it possible for you to debug or trace the same.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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 » WTX Type Tree - Query
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.