Your right :-) It was working until I started using a newer version of Axis (built on the 8th April) It then stopped working and began to include the following in the services .wsdl file
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://util.java"> <complexType name="Date"> <sequence> <element name="Time" type="xsd:long" /> <element name="Year" type="xsd:int" /> <element name="Month" type="xsd:int" /> <element name="Date" type="xsd:int" /> <element name="Hours" type="xsd:int" /> <element name="Minutes" type="xsd:int" /> <element name="Seconds" type="xsd:int" /> </sequence> </complexType> </schema> When using WSDL2Java the system would also create a Date.java class based on this complexType, thats when I started with the ser/des config. If I use the beta release version it all works correctly. Is this a bug in that build? Evan ----- Original Message ----- From: "David L. Cole" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 17:32 Subject: Re: Using typeMapping and Dates > > Correct me if I am wrong, but from the axis code, registering ser/des for > objects which > reside under the java package are omitted from explicit ser/des > registration. > > > > > "Evan Jehu" > <evan@codepit To: "axis user mailing list" <[EMAIL PROTECTED]> > .ca> cc: > Subject: Using typeMapping and Dates > 04/09/2002 > 01:57 PM > Please > respond to > axis-user > > > > > > > Hi All, > > I am struggling with the de/serialization of dates :-( > > I have found some classes in the axis.jar that seem to deal with this and > wonder how to use them in a .wsdd file, I have tried a number of > incarnations including > > <typeMapping qname="xnlms:dateTime" xmlns:myNS="urn:dateTime" > languageSpecificType="java:java.util.Date" > serializer="org.apache.axis.encoding.ser.DateSerializerFactory" > deserializer="org.apache.axis.encoding.ser.DateDeserializerFactory" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > > I consistently get a serializer not found for java.util.Date exception > thrown by the server. I have looked through the docs but am still stumped > so any help would be great. > > Evan > > > > > >
