cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron Taggart (JIRA)" <>
Subject [jira] Created: (CXF-369) xsd:dateTime becomes XMLGregorianCalendarImpl when Date needed
Date Fri, 19 Jan 2007 01:51:29 GMT
xsd:dateTime becomes XMLGregorianCalendarImpl when Date needed

                 Key: CXF-369
             Project: CXF
          Issue Type: Bug
         Environment: svn head, jax-ws api, annotations
            Reporter: Cameron Taggart

I have a web method:
public Date echoDate(String sessionID, Date input);

The soapUI 1.6 client works, but the Axis 1.3 client passes in xsi:type="xsd:dateTime".  The
CXF server turns the dateTime into a XMLGregorianCalendarImpl instead of a date when that
is set.  AbstractInvoker then fails at this call res = m.invoke(serviceObject, paramArray);
with an IllegalArgumentException.

Here is the full request that does not work:

<echoDate xmlns="urn:TestService/wsdl">
<input xsi:type="xsd:dateTime">2008-01-19T00:29:48.889Z</input>

Failure Response
<soap:Envelope xmlns:soap="">
         <faultstring>argument type mismatch</faultstring>

Removing 'xsi:type="xsd:dateTime"' makes it work.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message