|Constants [message #167299]
||Mon, 24 April 2006 18:14
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?
Powered by FUDForum
. Page generated in 0.01654 seconds