本文介绍了在不使用引用和svcutil的情况下使用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨 我需要使用WCF服务而不使用Web引用和Svcutil(提供wsdl类). 我想开发一个程序,用户可以在其中键入url和方法名称并定义其输入和输出参数数据类型. 如何以编程方式使用WCF服务(或在运行时使用)而不使用那些方式(我指的是Web References和svcutill). 任何想法,不胜感激. 我希望我能清楚地问. 抱歉,英语不是我的母语. 在此先感谢您.
Hi I need to consume WCF Services without using Web References and Svcutil(which provides wsdl class ). I want to develope a programme in which users can type a url and the method-name and define its input and output parameter datatypes. How can I consume WCF Services prgrammatically(or consume at runtime ) and not to use those ways(I mean Web References and svcutill). any idea whoud be appreciated. I wish I asked clearly. sorry, english is not my first language. Thanks in advance.
推荐答案您不能.您要么需要服务参考,要么需要使用svcutil为您生成适当的文件.听起来您好像是在未经所有者同意的情况下尝试使用Web服务. You can''t. You either need the service reference, or you need to use svcutil to generate the appropriate files for you. It sounds like you''re trying to use a web service without permission from its owner.
更多推荐
在不使用引用和svcutil的情况下使用WCF服务
发布评论