G
Guest
I have a web service that returns a class when a web method is called. This
class has a enum property with four values. These four values have default
numbers. For example,
Apple = 5
Orange = 8
Berry = 10
Grape = 12
When I hit the web method with the test harness it will return the enum with
the correct default numbers. When I hit the web service through a web
application it not longer returns the default values. This results in me
getting back the wrong enum defualt value. Am I wrong to assume that a web
service will return an enum with the correct default values? Any help would
be greatly appreciated.
class has a enum property with four values. These four values have default
numbers. For example,
Apple = 5
Orange = 8
Berry = 10
Grape = 12
When I hit the web method with the test harness it will return the enum with
the correct default numbers. When I hit the web service through a web
application it not longer returns the default values. This results in me
getting back the wrong enum defualt value. Am I wrong to assume that a web
service will return an enum with the correct default values? Any help would
be greatly appreciated.