You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David CastaƱeda <da...@gmail.com> on 2008/02/15 01:36:47 UTC
Problem with xsi:type="xsd:dateTime" in request to a JAXWS using Date parameter.
Hi, can anybody point me out how to solve this issue...
https://issues.apache.org/jira/browse/CXF-369
as maomaode writes the solution is to use
<annotation>
<appinfo>
<jxb:property>
<jxb:baseType>
<jxb:javaType name="java.util.Date">
</jxb:javaType>
</jxb:baseType>
</jxb:property>
</appinfo>
</annotation>
but I don't understand where to put this in CXF configuration xml
I'm using something like this.....
<jaxws:endpoint address="/op/xService"
implementorClass="com.xServiceImpl">
<jaxws:implementor>
<ref bean="wsXService"/>
</jaxws:implementor>
</jaxws:endpoint>
and in a call to an operation defined in this service the problem
arise... "xsd:dateTime becomes XMLGregorianCalendarImpl when Date
needed"
If anybody can point me to some documentation I will be more than
enough, I hope....
I already check this:
http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html ... but
still don't get it.
--
David CastaƱeda R.