Jacob,

The generation is based on java to xml mapping as defined in the
specification JAX-RPC 1.1. I have not
looked at JAX-WS, but I suspect it has the same mapping.

Have you tested the runtime behavior. I would expect the runtime to do the
necessary conversion based
on what the target service expects - java.util.Date or java.util.Calendar.

Mj


On 12/6/06, Jacobo Sanchez <[EMAIL PROTECTED]> wrote:

Hi all

Hope this is the right place to talk about this:
   I found that generating the wsdl from a java class with a method
returning a 'java.util.Date' object has the same behaviour as using a '
java.util.Calendar '. In both generated wsdl files the type is translated
to 'dateTime'. I expected the ' java.util.Date' object to be translated to
'date' so debugged  a bit (svn source) and found that the '
org.apache.ws.java2wsdl.utils.TypeTable'  class is the one that defines
the same mapping for both java classes.

My question is if it is working as intended or not and if it is, how could
i make a java object to be translated to 'date' into the generated wsdl?

Thanks for your hard work,

 Jacobo



Reply via email to