I found the answer. I have to use the Factory classes. 
But the response is something like that "2002-07-02". Where is the time
stored in the Date Object? How can I get it?

 -----Original Message-----
From:   Christian Schmitz [mailto:[EMAIL PROTECTED]] 
Sent:   Dienstag, 2. Juli 2002 17:01
To:     '[EMAIL PROTECTED]'
Subject:        How to use DateSerializer?

Hi,

I've tried to use DateSerializer from axis to serialize java.util.Date, but
a NullPointerException was thrown.

This is my mapping in the deployment file:

  <typeMapping
        xmlns:ns="http://pirobase.pironet.de/xsd";
        qname="ns:Date"
        type="java:java.util.Date"
        serializer="org.apache.axis.encoding.ser.DateSerializer"
        deserializer="org.apache.axis.encoding.ser.DateSerializer"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
   />  

Regards 
Christian

Reply via email to