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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top