Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to declare constant in the wsdl file

843833May 23 2005 — edited May 25 2005
Hello

How to declare constants in the wdsl file if I have an exception class like that:

public class MyException extends Exception implements Serializable{

...
public final static int WRONG_PASSWORD=113;
...

}


I want to have theses constants in the generated java skeleton from the wsdl file.


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2005
Added on May 23 2005
3 comments
274 views