David Steel

Greenhorn
+ Follow
since Aug 07, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by David Steel

Hi, I have a WebService that stores the Envelope XML to a file using a MessageHandler referenced from a ChainHandler. I only want to save the data if the data is valid. If I use SchemaValidation and the data is not valid I get an appropriate response at the client, but the MessageHandler runs anyway. Is there a way to configure the SchemaValidation to stop the chain processing if invalid?

I cant find any info if one is fired before the other.

I am new to JAVA and I am using Netbeans 7.1 and Glassfish 3.1.1

Any help greatfully received

Follow up:

I believe that the only way to validate the message is creating a custom validator to process the message in the MessageHandler. Thats the way I went anyway.
11 years ago