This content has been marked as final.
Show 2 replies
-
1. Re: how to configure the jboss's engineConfiguration to axis
thomas.diesler Nov 23, 2005 6:37 AM (in response to armanm)What is the problem with using xsd:date?
http://www.w3.org/TR/xmlschema-2/#date -
2. Re: how to configure the jboss's engineConfiguration to axis
armanm Nov 24, 2005 4:19 AM (in response to armanm)"thomas.diesler@jboss.com" wrote:
What is the problem with using xsd:date?
http://www.w3.org/TR/xmlschema-2/#date
"problem with using xsd:date?" - for one dept, i need to use the send and receive a date without an optional timezone-valued timezone property. I've seen that apache's axis does not match the date to corresponding time-zone. I want use it but cant configure the jboss for using that org.apache.axis.encoding.ser.DateSezializer .
I used
...
...
but it's ignored ,
I also used to register in my Bean's method.
QName xmlType = new QName("http://com", "xsd:date");
System.out.println(MessageContext.getCurrentContext());
TypeMapping tm = MessageContext.getCurrentContext().getTypeMapping();
tm.register(java.util.Date.class, xmlType,
new org.apache.axis.encoding.BeanSerializerFactory(java.util.Date.class, xmlType),
new org.apache.axis.encoding.BeanDeserializerFactory(java.util.Date.class, xmlType));
but still now it uses the org.jboss.axis.encoding.ser.DateSezializer
thanks