0 Replies Latest reply on Jul 16, 2007 10:47 AM by carstenrudat

    EJB3 Webservice - java.sql.Date and/or custom datatypes

      Hi all,

      I've just started with JBossWS (jboss-5.0.0.Beta2 with an upgrade to the latest JBossWS 2...) from the EJB3-Webservice-Tutorial.

      The basic Calculator-example works (after changing QName's namespace), but any attempt to add a method, which hat a java.sql.Date or a custom datatype as a parameter fails.

      Is there a short tutorial how to manage custom types? I tried to add an XmlAdapter to do my own marshalling of java.sql.Date-types. And I tried to generate and use a jaxrpc-mapping.xml-file (with Suns wscompile - wstools didn't work for me). No attempt worked :-( So, I really would like to have an example or tutorial...

      Thanks.
      Carsten