使用Delphi消耗oData服务建议 [英] Using Delphi to consume oData service recommendations

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

问题描述

我将要启动一个项目,该项目需要Delphi XE Windows 32客户端使用 oData 网站服务.

I'm about to start a project that requires a Delphi XE Windows 32 client to consume an oData web service.

我可以使用一些粗略的测试代码正确地查询服务,但这将是写一个框架来处理oData协议(所有过滤,参数等)以及为所有服务处理CRUD操作的第一步.请注意,这是Win32版本的Delphi,所以我没有linq等东西可以使用.

I can query the service correctly with some rough and read test code but it's going to be a slog writing a framework to handle the oData protocol - all the filtering, parameters, etc and handling CRUD operations for all the services. Note that this is the Win32 version of Delphi so I don't have things like linq, etc at my disposal.

是否有任何Delphi程序员具有使用Delphi消耗oData的经验?如果是这样,那么有关框架,组件等的任何建议在这里会有所帮助吗?

Are there any Delphi programmers out there that have experience with consuming oData with Delphi? And if so, any recommendations for frameworks, components, etc that would help here?

推荐答案

我是通过使用简单的 httpRequest 完成的,然后使用 SuperObject

I did this by using a simple httpRequest and then parsed the results with SuperObject

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

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