You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Pranesh Sharma (JIRA)" <ax...@ws.apache.org> on 2006/09/01 16:42:22 UTC

[jira] Created: (AXIS-2555) If passing a calender object to access to soap client then RPCParam is deducting one day less.

If passing a calender object to access to soap client then RPCParam is deducting one day less.
----------------------------------------------------------------------------------------------

                 Key: AXIS-2555
                 URL: http://issues.apache.org/jira/browse/AXIS-2555
             Project: Apache Axis
          Issue Type: Bug
          Components: Serialization/Deserialization
    Affects Versions: 1.4
         Environment: Linux
            Reporter: Pranesh Sharma


I am calling a web services in which I am suppose to pass a request object which contains a java.util.Calender object. I am passing a date 2006-08-11 in Calander object. But server is receiving it as 2006-08-10. After debugging the source code of axis1.4 I saw that in Call class 
Code at line number 2087 is converting the request object to RPC object, where it is reducing a date.
                 rpcParam = new RPCParam(paramQName.getNamespaceURI(),
                                            paramQName.getLocalPart(),
                                            p);
                }
This rpcParam is an xml formatted object which contains a date 2006-08-10 instead of 2006-08-11 and the object "p" still contains the actual values.
Can anybody please let me know why is this happeing???

Thanks & Regards,
Pranesh Sharma

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org