Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Constants
Constants [message #167299] Mon, 24 April 2006 14:14
Eclipse User
Originally posted by: brice.ruth.isthmusgroup.com

Easy question: how do I export constants (either public static final, or
enum) to the client of a web service, via the WSDL, using WTP?

If I define an enum and use it on an input object for a method, it gets
mapped to XSD anyType. I would like the client of the web service to be
able to use constant fields when they call the service layer. .NET seems
to have some annotations, and JAX-WS seems to do something similar.

What's the "standard" or "best practice" for this?
Previous Topic:dynamic web project
Next Topic:Simple editing question about XML editor.
Goto Forum:
  


Current Time: Fri Aug 22 23:54:04 EDT 2014

Powered by FUDForum. Page generated in 0.01622 seconds