Restlet ClientResource Post chunked 编码 - WCF 不支持

发布于 2024-08-14 08:39:46 字数 458 浏览 3 评论 0原文

我正在开发一种产品,将广泛使用 Restlet 进行消费 WCF 休息服务。我创建了一个方法来发布类的 XML 包含2个属性。

Restlet 使用 Transfer-Encoding: chunked 发布我的 xml 和我的 WCF 服务, 无法解释发布的内容,不幸的是 WCF 仍然无法解释 反序列化我的类参数。

我尝试使用此处描述的解决方案: http://osdir.com/ml/java.restlet/2007- 05/msg00097.html 但这对我不起作用。我的 Restlet 客户端继续使用以下方式发布我的请求内容 传输编码:分块。 =(

有人遇到过这样的问题吗?有人可以帮助我吗???

谢谢大家,很抱歉英语不好=)

I'm developing a product that will use extensively of Restlet for consume
WCF Rest Services. I had created a method to post a XML of a class
containing 2 attributes.

Restlet post my xml with Transfer-Encoding: chunked, and my WCF service,
can't to interpret posted content, unfortunately WCF continues can't to
deserialize my class parameters.

I tried to use the solution described here:
http://osdir.com/ml/java.restlet/2007-05/msg00097.html
but it won't work for me. My restlet client continues to post my request content using
Transfer-Encoding: chunked. =(

Anybody had a problem like this? Can anybody help-me???

Thanks all and sorry by bad bad english =)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

强辩 2024-08-21 08:39:46

我建议您直接联系Restlet社区:
http://www.restlet.org/community/lists

尝试提供重现以下内容的示例代码问题。

谨致问候,

Jerome Louvel

Restlet ~ 创始人兼首席开发人员 ~ http://www.restlet.org
Noelios Technologies ~ 联合创始人 ~ http://www.noelios.com

I suggest that you contact Restlet community directly:
http://www.restlet.org/community/lists

Try to provide sample code reproducing the issue.

Best regards,

Jerome Louvel

Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文