Restlet ClientResource Post chunked 编码 - WCF 不支持
我正在开发一种产品,将广泛使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您直接联系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