Consider dynamic type conversion on dateTime returns
----------------------------------------------------

                 Key: WSAS-734
                 URL: https://wso2.org/jira/browse/WSAS-734
             Project: WSO2 WSAS
          Issue Type: Improvement
            Reporter: Jonathan Marsh
            Assignee: Keith Godwin Chapman


The first of these works, the second doesn't.  The stubs now variously accept a 
date object or an xs:dateTime compatible string when the type is declared as 
xs:dateTime.  Should we do something similar on the server side?  If the return 
value is a string, and is valid, can't we send that rather than force the user 
to parse it into an xs:dateTime just so we can serialize it back out?

getDate.outputType = "xs:dateTime";
function getDate() {
    return (new Date());
}

getXsDate.outputType = "xs:dateTime";
function getXsDate() {
    return "2008-01-01T04:03:02Z";
}



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

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to