axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schmitz <cschm...@pironet-ndh.com>
Subject RE: How to use DateSerializer?
Date Tue, 02 Jul 2002 15:12:43 GMT
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:cschmitz@pironet-ndh.com] 
Sent:	Dienstag, 2. Juli 2002 17:01
To:	'axis-user@xml.apache.org'
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

Mime
View raw message