validate xml against xsd before restful web services call in java

tjdwhd

New Member
I want to validate xml against xsd before restful web services call in javafor this I created Filter. In the filter I am geting xml file from ServeletRequest.getInputStream and I have SchemaLocation I am doing validation .but after validation , its not going for the srevice call its giving http: 400 errors.in response ,I guess after getting getinputStream , inputStream is empty.Please Help me on this how to validate xml against xsd before restful web services call in java.
 
Back
Top