[JBoss-user] [JBossWS] - Re: Support for java enum type.
JAXWS, JAXB-2.0 is not part of J2EE-1.4 JBossWS-1.0.0.GA does not have support for JAXWS nor for JAXB. You can monitor the roadmap for progress on this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945276#3945276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945276 --- 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=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Support for java enum type.
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=bbop=viewtopicp=3944139#3944139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Support for java enum type.
Is this version of JBoss-WS(jbossws-1.0.0.GA) is JAX-WS 2.0 complaint or not? According to the app server (JBoss 4.0.4 ) documentation, it is J2ee 1.4 complaint. If so, it should support JAXB2.0 bindings completely. JAXB 2.0 maps xml enumeration to enum (1.5 java) type. When can we expect JBoss-WS to support the JDK1.5 enum type? The answer will help us in deciding when we want to migrate our current application to JBoss 4.0.4 Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944246#3944246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944246 --- 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=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user