|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XSD Validation |
« View previous topic :: View next topic » |
Author |
Message
|
samchenchu |
Posted: Fri Aug 30, 2013 2:37 am Post subject: XSD Validation |
|
|
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 |
|
 |
kimbert |
Posted: Fri Aug 30, 2013 2:39 am Post subject: |
|
|
 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 |
|
 |
Simbu |
Posted: Fri Aug 30, 2013 3:14 am Post subject: |
|
|
 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 |
|
 |
Simbu |
Posted: Fri Aug 30, 2013 3:16 am Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
Also please use different subject name for the posts |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|