axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McDaniel, Joe" <mcdan...@tigr.org>
Subject RE: Enumeration Question
Date Thu, 11 Dec 2003 14:51:42 GMT
Hi Stuart,

Part of the source distribution are the test cases. Here is the wsdl for
testing enumerations. Perhaps your wsdl is not correct? 

I did submit my changes to the wsdl2java tool. There would not be a
comparable change to the javaw2sdl tool (I think) -- in any case, one
must always do the java2wsdl and then wsdl2java steps to create the
working .java files.  I have not tried the java2wsdl route for anything
complex so there may be some "magic" in what you must do I am not aware
of. Since there is no explicit enum object in Java, it may be difficult
for java2wsdl to recognize an enumeration. 

I am not a registered developer so I posted my revised class on the
bug/feature reporting area. I can send you a copy of the new class.   

Best,



-----Original Message-----
From: Stuart Barlow [mailto:sbarlow@peopledoc.com] 
Sent: Thursday, December 11, 2003 3:30 AM
To: axis-user@ws.apache.org
Subject: Re: Enumeration Question


Thanks for all the info. I am aware of the type safe enumerations
pattern and the benefits this brings.

But when I run Java2WSDL I do not get any enumerated definitions of any
kind. They are just ignored.

Did you submit a fix for the Java2WSDL tool?
Or am I making a mistake when running it?
:-)


Mime
View raw message