E
ewild
Hey all,
I am trying to write a webservice that passes a dataset that
truely represents my data, and creates constraints on what I will
recieve back.
With all my strings I built a max lenght using the simpleType,
so I won't get any overflow errors. I also want to create an enum that
represents the types of phone numbers I have. IE Business, Home Cell
ect...
The problem is when I create the class with the xsd.exe, it
creates the length constrains, but it doesn't create a enum from the
schema.
Am I asking too much? is the xsd.exe supposed to create an
enum for the field value?
any ideas?
Eric
I am trying to write a webservice that passes a dataset that
truely represents my data, and creates constraints on what I will
recieve back.
With all my strings I built a max lenght using the simpleType,
so I won't get any overflow errors. I also want to create an enum that
represents the types of phone numbers I have. IE Business, Home Cell
ect...
The problem is when I create the class with the xsd.exe, it
creates the length constrains, but it doesn't create a enum from the
schema.
Am I asking too much? is the xsd.exe supposed to create an
enum for the field value?
any ideas?
Eric