简体   繁体   English

Restlet ClientResource后分块编码-WCF不支持

[英]Restlet ClientResource Post Chunked Encoding - WCF Unsuported

I'm developing a product that will use extensively of Restlet for consume WCF Rest Services. 我正在开发一种将广泛使用Restlet来使用WCF Rest Services的产品。 I had created a method to post a XML of a class containing 2 attributes. 我创建了一个方法来发布包含2个属性的类的XML。

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. Restlet使用Transfer-Encoding:分块发布我的xml,并且我的WCF服务无法解释发布的内容,不幸的是WCF继续无法反序列化我的类参数。

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. 我尝试使用此处描述的解决方案: http : //osdir.com/ml/java.restlet/2007-05/msg00097.html,但它对我不起作用。 My restlet client continues to post my request content using Transfer-Encoding: chunked. 我的restlet客户端继续使用Transfer-Encoding:分块发布我的请求内容。 =( =(

Anybody had a problem like this? 有人有这样的问题吗? Can anybody help-me??? 有谁能够帮助我???

Thanks all and sorry by bad bad english =) 谢谢大家,对不起,英语不好=)

I suggest that you contact Restlet community directly: http://www.restlet.org/community/lists 我建议您直接与Restlet社区联系: http : //www.restlet.org/community/lists

Try to provide sample code reproducing the issue. 尝试提供重现该问题的示例代码。

Best regards, 最好的祝福,

Jerome Louvel 杰罗姆·卢维尔(Jerome Louvel)

Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com 的Restlet〜创始人和首席开发者〜 http://www.restlet.org Noelios技术〜共同创始人〜 http://www.noelios.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM