You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Sayatovic, Brian" <Br...@divine.com> on 2002/09/19 19:20:33 UTC
Want java.sql.Timestamp to use xsd:dateTime
I admit I'm new to Axis, so bear with me. I've got some classes which have properties of type java.sql.TimeStamp. The WSDL generated by the servlet declares their type to be nothing (empty string to be exact). m Yet, whenever an object oif this type is serialized over, it's type is marked as "xsd:dateTime" (which makes sense).
So, my first question is -- why does it know a Timestamp is an xsd:dateTime in one place (the serializer) but not the other (the WSDL generator)?
I tried to fix this by adding a typeMapping to my WSDD to make java.sql.TimeStamp use the Date[De]SerializerFactories. Not the type is listed as "tns3:TimeStamp" where xmlns:tns3="http://sql.java". How did that happen?
Regards,
Brian.
Suppoert for object initialisation
Posted by Gionata Gelati <ge...@sparc20.ing.unimo.it>.
In pevious mail, object stays for service
Support for object initialisation
Posted by Gionata Gelati <ge...@sparc20.ing.unimo.it>.
Hello,
I would like to know whether there is a way for initialising an object
calling some axis functionalities. What I want to do is to avoid to pass
to
my object the initialisaiton parameters it needs or toread it from
file. What I want to do is to
make the object call an axis service that tell the object its
configuration. Does anybody know whether it is possible and how?
Many thanks
Jonathan