[jboss-user] [JBossWS] - EJB3 Webservice - java.sql.Date and/or custom datatypes

CarstenRudat do-not-reply at jboss.com
Mon Jul 16 10:47:44 EDT 2007


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 

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

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



More information about the jboss-user mailing list