Forcing the consumer to fill property

Discussion in 'ASP .Net Web Services' started by יוני גולדברג, Dec 21, 2006.

  1. 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.
     
    יוני גולדברג, Dec 21, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. senglory
    Replies:
    0
    Views:
    337
    senglory
    Aug 25, 2004
  2. Gatwick
    Replies:
    0
    Views:
    368
    Gatwick
    Aug 31, 2004
  3. =?Utf-8?B?cG11ZA==?=
    Replies:
    1
    Views:
    754
    Patrick Olurotimi Ige
    Dec 20, 2004
  4. Newbie

    Repost: RSS Consumer

    Newbie, Feb 4, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    443
    Ken Cox - Microsoft MVP
    Feb 4, 2006
  5. Mark McKay
    Replies:
    0
    Views:
    465
    Mark McKay
    Dec 9, 2003
Loading...

Share This Page