Validation of Web Method parameters

B

bill dawson

Is there any way, using declarative attributes, to specify the values that
are acceptable for the parameter of a web method? I would like to restrict
a parameter to certain values, and I'm interested in the best place to my
logic. The most convenient for me would be to make it an attribute and let
the WSDL take it into account automatically -- does such an attribute
exist?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,610
Members
45,255
Latest member
TopCryptoTwitterChannels

Latest Threads

Top