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

Post new topic  Reply to topic
 XSD Validation « View previous topic :: View next topic » 
Author Message
samchenchu
PostPosted: Fri Aug 30, 2013 2:37 am    Post subject: XSD Validation Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

Hi friends,

I have below 3 elements in my XSD and below is my code therefore i am sending output root to validate node to do validation.In my While loop for the 1st message its validated successfully and for second message its throwing exception that "Domain, set or type check failed". The 1st and 2nd messages are same and mentioned below.

WHILE LASTMOVE(rInput) DO
CREATE FIELD OutputRoot.XMLNSC.ItemDepotDetails;
MOVE rOutput TO OutputRoot.XMLNSC.ItemDepotDetails;
SET rOutput.ItemDepotRequest.ItemNumber = rInput.ItemNumber;
SET rOutput.ItemDepotRequest.DepotNo = rInput.DepotNo;
SET rOutput.ItemDepotRequest.IsGPF = rInput.IsGPF;
PROPAGATE TO TERMINAL 'out1';
MOVE rInput NEXTSIBLING;
END WHILE;

P.S: 1st message ItemDepotDetails
ItemDepotRequest
ItemNumber:CHARACTER:6715126
DepotNo:CHARACTER:8323
IsGPF:CHARACTER:0
2nd message ItemDepotDetails
ItemDepotRequest
ItemNumber:CHARACTER:6717072
DepotNo:CHARACTER:8323
IsGPF:CHARACTER:0

javascript:emoticon('')
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Aug 30, 2013 2:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This is your second post today, so please try to make it easy for us.
- use code tags
- quote error messages in full
- tell us what you have already tried
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
Simbu
PostPosted: Fri Aug 30, 2013 3:14 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

samchenchu, ensure that you have Domain, set or type correctly set for all the messages that you are passing to validate node.
Back to top
View user's profile Send private message
Simbu
PostPosted: Fri Aug 30, 2013 3:16 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

Also please use different subject name for the posts
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 » XSD Validation
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.