Forums Register Login

Request xml validation

+Pie Number of slices to send: Send
Hi Friends,

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.

Thanks,
+Pie Number of slices to send: Send
Hi!
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.
Best wishes!
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 933 times.
Similar Threads
how to avoid null pointer exception(URGENT PLEASE)
NMTOKEN
SOAP Webservice throttling
XmlBeans Validation
Doubts reagarding database operations for Bodgitt and Scarper
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:58:19.