I've created a webservice application and declared some public enumerations int the global.asax. So far so good.
I created a web application with a web reference to the webservice application.
Here's my problem: How can I use the public enumerations in the webservice in my web application.
If I do a reference like:
This wont work. The only time it works is when I create a webmethod and use the enum as a parameter like so:
public void MyWebmethod (PublicEnum myEnum)
After the creation of this webmethod the enum PublicEnum is availble in my webapplication by the reference as above.
Does anyone know how I can access the public enum withous using it as a parameter?