如何使用WCF服务的wsHttpBinding内置2.0应用程序? [英] How to consume WCF wsHttpBinding Service in application built in 2.0?
问题描述
WCF服务与的wsHttpBinding绑定运行。这该怎么使用WCF服务的应用是不符合WCF或者换句话说,它是框架2.0的上方,我不能在此应用程序使用ServiceModel(因为只有3.5支持ServiceModel)。
WCF service is running with 'wsHttpBinding' Binding. The application which gonna consume WCF Service is non-wcf compliance or in other words, it is on the top of Framework 2.0 and I can't use ServiceModel in this app (since only 3.5 supports ServiceModel).
任何建议,如何消费上面WCF服务中内置的2.0应用程序?
Any suggestions, how to consume above WCF Service in application built in 2.0?
推荐答案
这是行不通的 - 典型。 .NET 2.0唯一支持 basicHttpBinding的,
或新的REST风格的WebHttpBinding
。
This won't work - typically. .NET 2.0 only support basicHttpBinding,
or the new REST-style webHttpBinding
.
您可能改造的WSE(Web服务增强) - 但得到相当混乱
You could potentially retrofit the WSE (Web Services Enhancements) - but that gets quite messy.
这篇关于如何使用WCF服务的wsHttpBinding内置2.0应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!