从WSDL文件创建Web服务 [英] Create Web Service from WSDL file

查看:114
本文介绍了从WSDL文件创建Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从wsdl文件中获取Web服务?仅需要从本地服务器中获取Web服务.需要从wsdl文件中创建Web服务.

How to fetch web service from wsdl file?Need to fetch web service from local server only.Need to create web service from wsdl file.

推荐答案

Try 

wsdl.exe /server <path or URL to WSDL file>. 



This will generate code for
an abstract web service class with web methods that correspond to the WSDL.
You'll need to derive a class from this abstract class and implement the
body for the abstract methods yourself.


1.在添加Web引用"对话框中,输入WSDL文件或Web服务定义的位置,然后单击执行".
1. In the Add Web Reference dialog box, enter the location of the WSDL file or Web service definition and click Go.


这篇关于从WSDL文件创建Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆