使用DateTimeOffset的Web服务 [英] Web Services with DateTimeOffset

查看:60
本文介绍了使用DateTimeOffset的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Every One!我正在尝试在我的Web服务(WS)中使用DateTimeOffset,但它不起作用!

为什么不这样做工作?是可以在WS中使用DateTimeOffset吗?
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________解决方案

你得到什么错误/异常?您能否提供有关您的方案的更多详细信息?

如果您使用WCF,则可以使该方案正常工作,如下所示:http://developers.de/blogs/damir_dobric/archive/2007/08/09/wcf-日期时间,和DATETIMEOFFSET-ON-THE-wire.aspx 。如果您刚开始开发申请,请考虑转到WCF。


Hello Every One!

I'm trying to use DateTimeOffset in my Web Services (WS), but its didn't work!

Why it doesn't work?
It's possible to use DateTimeOffset in WS ?

_________________________________________________________________________________________________________________
GH

解决方案

What error/exception are you getting? Could you give us more details about your scenario?

If you were using WCF, you could make that scenario work, as shown in: http://developers.de/blogs/damir_dobric/archive/2007/08/09/wcf-datetime-and-datetimeoffset-on-the-wire.aspx. Please consider moving to WCF if you are just starting with the development of your application.


这篇关于使用DateTimeOffset的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆