Forcing the consumer to fill property

  • Thread starter יוני גולדברג
  • Start date
×

יוני גולדברג

Hi,
I have WS with WSDL file which describe some type, let's say an animalType.
I define in the code a "name" property to that type.
I want that property to be required, means that if the consumer of the
WS try to send animalType without specifiying the name,
an error will be raised.
Is it possible?

Thanks.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top