WSDL.EXE - Microsoft (R) Web Services Description Language Utility

 

Microsoft (R) Web Services Description Language Utility

[Microsoft (R) .NET Framework, Version 4.0.30319.1]

Copyright (C) Microsoft Corporation. All rights reserved.

 

wsdl.exe -

    Utility to generate code for xml web service clients and xml web services

    using ASP.NET from WSDL contract files, XSD schemas and .discomap

    discovery documents. This tool can be used in conjunction with disco.exe.

 

wsdl.exe <options> <url or path> <url or path> ...

 

     - OPTIONS -

 

<url or path> -

    A url or path to a WSDL contract, an XSD schema or .discomap document.

 

/nologo

    Suppresses the banner.

 

/language:<language>

    The language to use for the generated proxy class.  Choose from 'CS',

    'VB', 'JS', 'VJS', 'CPP' or provide a fully-qualified name for a class

    implementing System.CodeDom.Compiler.CodeDomProvider.  The default

    language is 'CS' (CSharp).  Short form is '/l:'.

 

/sharetypes

    Turns on type sharing feature. This feature creates one code file with

    a single type definition for identical types shared between different

    services (namespace, name and wire signature must be identical).

    Reference the services with http:// URLs as command-line parameters

    or create a discomap document for local files.

 

/verbose

    Displays extra information when the /sharetypes switch is specified.

    Short form is '/v'.

 

/fields

    Generate fields instead of properties. Short form is '/f'.

 

/order

    Generate explicit order identifiers on particle members.

 

/enableDataBinding

    Implement INotifyPropertyChanged interface on all generated types

    to enable data binding. Short form is '/edb'.

 

/namespace:<namespace>

    The namespace for the generated proxy or template.  The default namespace

    is the global namespace. Short form is '/n:'.

 

/out:<fileName|directoryPath>

    The filename or directory path for the generated proxy code. The default

    filename is derived from the service name. Short form is '/o:'.

 

/protocol:<protocol>

    Override the default protocol to implement.  Choose from 'SOAP',

    'SOAP12', 'HttpGet', 'HttpPost'.

 

/username:<username>

/password:<password>

/domain:<domain>

    The credentials to use when connecting to a server that

    requires authentication. Short forms are '/u:', '/p:' and '/d:'.

 

/proxy:<url>

    The url of the proxy server to use for http requests.

    The default is to use the system proxy setting.

 

/proxyusername:<username>

/proxypassword:<password>

/proxydomain:<domain>

    The credentials to use when the connecting to a proxy server that

    requires authentication. Short forms are '/pu:', '/pp:' and '/pd:'.

 

/appsettingurlkey:<key>

    The configuration key to use in the code generation to read the default

    value for the Url property. The default is to not read from the config

    file. Short form is '/urlkey:'.

 

/appsettingbaseurl:<baseurl>

    The base url to use when calculating the url fragment. The

    appsettingurlkey option must also be specified. The url fragment is

    the result of calculating the relative url from the appsettingbaseurl

    to the url in the WSDL document. Short form is '/baseurl:'.

 

/parsableerrors

    Print errors in a format similar to those reported by compilers.

 

     - ADVANCED -

 

/server

    Server switch has been deprecated. Please use /serverInterface instead.

    Generate an abstract class for an xml web service implementation using

    ASP.NET based on the contracts. The default is to generate client proxy

    classes.

 

/serverInterface

    Generates interfaces for server-side implementation of an ASP.Net

    Web Service. An interface is generated for each binding in the wsdl

    document(s). The wsdl alone implements the wsdl contract (classes

    that implement the interface should not include either of the following

    on the class methods: Web Service attributes or Serialization

    attributes that change the wsdl contract). Short form is '/si'.

 

/parameters:<file>

    Read command-line options from the specified xml file. This allows you

    to specify options not available from command line such as choosing

    which type of asynchronous programming model is generated. For details,

    please see the tool documentation. Short form is '/par:'.

时间: 2024-10-07 04:42:26

WSDL.EXE - Microsoft (R) Web Services Description Language Utility的相关文章

J2EE vs. Microsoft.NET 之 Web Services

j2ee|services|web J2EE vs. Microsoft.NET 之 Web Services             --建置XML架构的Web Services之比较作者:佚名    本文选自:CNJSP  2002年04月30日 I. 序 在本文中,我们将深入的比较两种可用来建置商业XML Web Services的平台,分别是Sun Microsystems 所提供的Java 2 Enterprise Edition (J2EE)以及Microsoft所提供的 .NET平

Build Data-Driven Web Services with Updated XML Support for SQL Server 2000

server|services|web|xml Download the code for this article: SQLXML3.exe (239KB) --->SUMMARY XML is becoming the ubiquitous data format on the Web, and XML support in SQL Server is evolving to meet the additional demand. Using XML, SOAP, HTTP, and SQL

Web Services Addressing 规范

services|web|规范 Web Services Addressing (WS-Addressing)August 2004AuthorsDon Box, Microsoft (Editor)Erik Christensen, MicrosoftFrancisco Curbera, IBM (Editor)Donald Ferguson, IBMJeffrey Frey, IBMMarc Hadley, Sun Microsystems, Inc.Chris Kaler, Microso

vs.net中web services入门

services|web services 入门摘要:Microsoft Visual Studio .NET 和 XML Web services 提供了一个简单.灵活且基于标准的模型,开发人员无论使用何种平台.编程语言或对象模型均可以编写组合应用程序.本文将帮助您快速学习使用 Visual Studio .NET 创建并访问 XML Web services.本文包含一些指向英文站点的链接. 目录简介 用托管代码编写的 XML Web services 使用 Visual Studio 创建

Web Services相关网址收藏

最近研究Web Services访问控制问题,所以建一个Web Services相关网址的收藏页,我会不断的补充更新它,希望有兴趣的朋友也给推荐一些资源. SOAP实现小组 http://groups.yahoo.com/group/soapbuilders/ XML-RPC http://www.xmlrpc.com/ SOAP http://www.w3.org/tr/soap/ WSDL http://www.w3.org/tr/wsdl UDDI http://www.uddi.org/

使用Soap消息调用Web Services

services|web Web Services技术使异种计算环境之间可以共享数据和通信,达到信息的一致性.随着异种计算机环境的不断增加,我们会更加经常的调用各种不同计算机体系中编写和发布的Web Services,作者在本文中给出了使用VB应用程序调用java平台编写和发布的Web Services的实践过程, 并且分析了如何根据WSDL文件构造SOAP消息的方法.    一 SOAP简介     1.SOAP定义     SOAP(Simple Object Access Protocol

Web Services的简单介绍

services|web Web Services 是网格服务的基础, 也是OGSA和IOGSI的奠基石(GT3). 理解WebService的架构是使用GT3,编写网格服务的基础. 最近 有很多关于"Web Services"的议论并且许多公司也开始为他们的企业应用作出反应.那么,Web Services究竟是什么?简单的说,他们是另一个分布计算技术(像CORBA, RMI, EJB等等),容许我们创建客户端/服务端应用. 举个例子,让我们假设我不得不为一个连锁店开发一个程序.这家连

Data Web Services:访问IBM数据库服务器的新方式

简介 Web服务已成为数据交换.访问和操纵的主流机制.它的底层标准已经成熟,而且它的一些优点,例如松散耦合和虚拟化,已经向实现面向服务架构(Service-Oriented Architecture,SOA)这一目标前进了一大步.很多调查表明,难于实现已成为推迟甚至放弃 SOA 项目的主要原因之一.很多面向数据的Web服务都做一件事 -- 在一个数据库上执行一条语句,或者调用一个存储过程,但是,为了完成这些操作,需要将这些数据库操作封装到应用程序代码逻辑中.开发面向数据的Web应用程序是一项有挑

使用Eclipse和Java SE 6创建独立Web Services应用程序,第1部分

使用Eclipse和Java SE 6创建独立Web Services应用程序,第1部分: Web Services服务端应用程序 开始之前 关于本系列 此系列教程演示如何使用 Java SE 6 创建可轻松地从命令行而不是从 Web 应 用程序服务器容器中运行的独立 Web Services 服务端和客户端应用程序.使用 简单的 Hello World 示例,您将利用 Eclipse IDE.Java SE 6 和 Apache Ant 轻松创建完全可以正常工作的 Web Services 服