在不使用引用和svcutil的情况下使用WCF服务

编程入门 行业动态 更新时间:2024-10-05 11:20:06
本文介绍了在不使用引用和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服务

本文发布于:2023-11-12 21:03:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582525.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:情况下   svcutil   WCF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!