axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sundry Phillips (JIRA)" <>
Subject [jira] Created: (AXIS-2641) Date Array Problems
Date Fri, 16 Mar 2007 19:50:09 GMT
Date Array Problems

                 Key: AXIS-2641
             Project: Axis
          Issue Type: Bug
          Components: Serialization/Deserialization
    Affects Versions: 1.4
         Environment: N/A
            Reporter: Sundry Phillips

Using Axis 1.4 on both sides, if a call is made with a java.util.Date[] array, it is deserialized
as a java.util.GregorianCalendar[].

Test Case

Client Side:

Object[] inputParams = new Object[]{new java.util.Date[] {new java.util.Date(), new java.util.Date()}};
javax.xml.rpc.Service service = ServiceFactory.newInstance().createService(null);
Call call = service.createCall(null, operationName);
Object result = call.invoke(inputParams);

Server Side
void operation(Object[] dates) {
    for (Object obj: dates) {

The server will print out two java.util.GregorianDate objects.

If you would like, I can dig into the source code and correct.  Let me know.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message