I suppose you are using the JDK 1.5 enum type as input/output. However, it's 
not supported. JBossWS expects a 'typical' jdk 1.4 enum type like:


  | //Java
  | public class <enumeration_name> {
  | // ...
  | // Constructor
  | protected <enumeration_name>(<base_type> value) { ... }
  | // One for each label in the enumeration
  | public static final <base_type> _<label> = <value>;
  | public static final <enumeration_name> <label> =
  | new <enumeration_name>(_<label>);
  | // Gets the value for a enumerated value
  | public <base_type> getValue() {...}
  | // Gets enumeration with a specific value
  | // Required to throw java.lang.IllegalArgumentException if
  | // any invalid value is specified
  | public static <enumeration_name> fromValue(<base_type> value) {
  | ... }
  | // Gets enumeration from a String
  | // Required to throw java.lang.IllegalArgumentException if
  | // any invalid value is specified
  | public static <enumeration_name> fromString(String value){ ... }
  | // Returns String representation of the enumerated value
  | public String toString() { ... }
  | public boolean equals(Object obj) { ... }
  | public int hashCode() { ... }
  | }
  | 

Take a loot at JAXRPC 1.1, 4.2.4

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944139#3944139

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944139


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to