How can we ensure that our request xml does not have any unwanted tags. As per my current implementation the unwanted tags are simply ignored by the webservice, how can we mandate that the request xml has only the necessary tags.
posted 5 years ago
Add a web service handler that validates incoming and/or outgoing messages.
An example on how to develop a web service handler can be found in section 9.5 of this document: http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287 There are also examples on how to perform validation of XML against a XML schema elsewhere in the same document.