On Tue, Jan 19, 2010 at 10:34 AM, Dmitry Lukyanov <[email protected]> wrote:
> Hello, > > This is really strange for me. > 90%+ developers use auto-generated stubs to call web services. > In those stubs there is a very strict datetime format expected. > More about format here: > http://www.w3.org/TR/NOTE-datetime > > I don't think it's a good practice to force developers to take care about > data formatting in xml. > I insist, that by default the datetime and date formats must correspond to > w3c, > and developer should not even think about this, unless he/she need a > special format. > Hi Dmitry, Yes.. both you & Amila are correct. I just realized the problem is within how Data Services engine serialize the date time value after reading it from database. This is a bug in Data Services & we will be fixing it soon. /sumedha > > We have around 30 operations in 7 services in production. > Almost each operation has a date or datetime type in response. > It's not normal to specify the same format for each of them... > We have different consumers and everybody use default date/datetime format. > -- > About our plans - it's already in production with our own patch. > So, we are not blocked. But I don't want to stay far from your releases. > -- > Regards, > Dmitry > > > --- Original Message --- > From: Sumedha Rubasinghe <[email protected]> > To: [email protected], [email protected] > Date: 19 january, 03:04:45 > Subject: Re: [Architecture] WSO2 Data Services Server 2.5.0-M1 > > > Hi Dmitry, > > Rather than us formatting the date/time/datetime, we have plans to let > user > > control the format by giving the criteria. > > eg: > > yy-dd-mm, yyyy-mm-dd > > Thanks, > > /sumedha > > > > > > 2010/1/15 Dmitry Lukyanov <[email protected]> > > > > > Great! > > > I just found it out that I have to specify xsdType="xs:..." attribute. > > > But ... > > > > > > I was expected that if I specify xsdType="xs:dateTime" the DS server > will > > > format the date for me. > > > But this is not so... > > > > > > It seems i have to provide datetime formatting on the level of database > > > server... > > > Not every database developer know how to format dateTime according to > w3c > > > standards. > > > > > > I sure you have to take care of date, time, and dateTime formatting > > > according to w3c. > > > > > > Waiting for your feedback. > > > -- > > > Regards, > > > Dmitry > > > > > > > > > --- Original Message --- > > > From: Sumedha Rubasinghe <[email protected]> > > > To: [email protected], [email protected] > > > Date: 15 january, 03:06:33 > > > Subject: Re: [Architecture] WSO2 Data Services Server 2.5.0-M1 > > > > > > > Hi Dmitry, > > > > This is already available on 2.2.0 release. :-) .. > > > > /sumedha > > > > > > > > On Fri, Jan 15, 2010 at 12:46 AM, Dmitry Lukyanov <[email protected] > > > > > wrote: > > > > > > > > > Hello, > > > > > > > > > > That's great! > > > > > And what about output elements types? > > > > > > > > > > Like this: > > > > > > > > > > <query id="getSysUsers"> > > > > > <sql>select uid, name from sysusers</sql> > > > > > <result element="getSysUsersResponse" rowName="sysUser"> > > > > > <element name="id" column="uid" sqlType="INTEGER"/> > > > > > <element name="name" column="name" sqlType="STRING" /> > > > > > <element name="log-date" column="logdate" > sqlType="DATE" /> > > > > > </result> > > > > > </query> > > > > > > > > > > Regards, > > > > > Dmitry > > > > > > > > > > --- Original Message --- > > > > > From: Anjana Fernando <[email protected]> > > > > > To: [email protected], [email protected] > > > > > Date: 11 january, 15:28:21 > > > > > Subject: [Architecture] WSO2 Data Services Server 2.5.0-M1 > > > > > > > > > > > WSO2 Data Services Server team is pleased to announce the > Milestone 1 > > > > > > (Gobalu) release for Data Services Server 2.5.0 and is ready for > QA > > > at > > > > > > [1]. > > > > > > > > > > > > New Features > > > > > > ======== > > > > > > > > > > > > # Support for re-using pre-configured data sources - Carbon data > > > > > > source component. > > > > > > # Support for XSLT mediation. > > > > > > # Support for array input types. > > > > > > > > > > > > Fixes > > > > > > === > > > > > > > > > > > > # JNDI data source fix - https://wso2.org/jira/browse/DS-499 > > > > > > > > > > > > [1] > > > > > > > > > http://builder.wso2.org/~carbon/dataservices/2.5.0/M1/wso2dataservices-SNAPSHOT.zip > > > > > > > > > > > > Cheers, > > > > > > Anjana. > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Architecture mailing list > > > > > [email protected] > > > > > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > > > > > > > > > > > _______________________________________________ > > Architecture mailing list > > [email protected] > > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
