1
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
2![]()
3
D:\VS2005\VC>wsdl "c:\ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"
4
Microsoft(R) Web Services 描述语言实用工具
5
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
6
Copyright (C) Microsoft Corporation. All rights reserved.
7
错误: 处理“file:///c:/ws_service1.cs”时出错。
8
- 下载“file:///c:/ws_service1.cs”时出错。
9
- 未能找到文件“c:\ws_service1.cs”。
10
- 未能找到文件“c:\ws_service1.cs”。
11
- 未能找到文件“c:\ws_service1.cs”。
12![]()
13
如果需要更多帮助,请键入“wsdl /?”。
14![]()
15
D:\VS2005\VC>wsdl "c:\\ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"
16![]()
17
Microsoft(R) Web Services 描述语言实用工具
18
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
19
Copyright (C) Microsoft Corporation. All rights reserved.
20
错误: 处理“file:///c://ws_service1.cs”时出错。
21
- 下载“file:///c://ws_service1.cs”时出错。
22
- 未能找到文件“c:\ws_service1.cs”。
23
- 未能找到文件“c:\ws_service1.cs”。
24
- 未能找到文件“c:\ws_service1.cs”。
25![]()
26
如果需要更多帮助,请键入“wsdl /?”。
27![]()
28
D:\VS2005\VC>wsdl "c://ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"
29![]()
30
Microsoft(R) Web Services 描述语言实用工具
31
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
32
Copyright (C) Microsoft Corporation. All rights reserved.
33
错误: 处理“file:///c://ws_service1.cs”时出错。
34
- 下载“file:///c://ws_service1.cs”时出错。
35
- 未能找到文件“c:\ws_service1.cs”。
36
- 未能找到文件“c:\ws_service1.cs”。
37
- 未能找到文件“c:\ws_service1.cs”。
38![]()
39
如果需要更多帮助,请键入“wsdl /?”。
40![]()
41
D:\VS2005\VC>wsdl /out:"c://ws_service1.cs" "http://localhost/ws/service1.asmx?
42
wsdl"
43
Microsoft(R) Web Services 描述语言实用工具
44
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
45
Copyright (C) Microsoft Corporation. All rights reserved.
46
正在写入文件“c://ws_service1.cs”。
47![]()
48
D:\VS2005\VC>csc /out:"c://ws_service1.dll" /t:library /r:System.XML.dll /r:Syst
49
em.Web.Services.dll "c://ws_services.cs"
50
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378
51
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
52
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。
53![]()
54
error CS2001: 未能找到源文件“c://ws_services.cs”
55
fatal error CS2008: 未指定输入
56![]()
57
D:\VS2005\VC>csc /out:"c://ws_service1.dll" /t:library /r:System.XML.dll /r:Syst
58
em.Web.Services.dll "c://ws_service1.cs"
59
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378
60
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
61
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。
62![]()
63![]()
64
D:\VS2005\VC>disco http://localhost/ws
65
Microsoft (R) Web 服务发现实用工具
66
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
67
Copyright (C) Microsoft Corporation. All rights reserved.
68
错误: http://localhost/ws
69
- 下载“http://localhost/ws”时出错。
70
- 请求因 HTTP 状态 403 失败: Access Forbidden。
71![]()
72
如果您想获得更多帮助,请键入“disco /?”。
73![]()
74
D:\VS2005\VC>disco /out:"c:\" http://localhost/ws
75
Microsoft (R) Web 服务发现实用工具
76
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
77
Copyright (C) Microsoft Corporation. All rights reserved.
78
错误: 输出位置 'c:" http://localhost/ws' 不是有效的目录。
79![]()
80
如果您想获得更多帮助,请键入“disco /?”。
81![]()
82
D:\VS2005\VC>disco /out:"c:\" " http://localhost/ws"
83
Microsoft (R) Web 服务发现实用工具
84
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
85
Copyright (C) Microsoft Corporation. All rights reserved.
86
错误: 输出位置 'c:" ' 不是有效的目录。
87![]()
88
如果您想获得更多帮助,请键入“disco /?”。
89![]()
90
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws"
91
Microsoft (R) Web 服务发现实用工具
92
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
93
Copyright (C) Microsoft Corporation. All rights reserved.
94
错误: http://localhost/ws
95
- 下载“ http://localhost/ws”时出错。
96
- 请求因 HTTP 状态 403 失败: Access Forbidden。
97![]()
98
如果您想获得更多帮助,请键入“disco /?”。
99![]()
100
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws" /pu:jack /pp:jack
101
Microsoft (R) Web 服务发现实用工具
102
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
103
Copyright (C) Microsoft Corporation. All rights reserved.
104
错误: http://localhost/ws
105
- 下载“ http://localhost/ws”时出错。
106
- 请求因 HTTP 状态 403 失败: Access Forbidden。
107![]()
108
如果您想获得更多帮助,请键入“disco /?”。
109![]()
110
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws" /pu:jack /pp:jack
111
Microsoft (R) Web 服务发现实用工具
112
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
113
Copyright (C) Microsoft Corporation. All rights reserved.
114
错误: http://localhost/ws
115
- 下载“ http://localhost/ws”时出错。
116
- 请求因 HTTP 状态 403 失败: Access Forbidden。
117![]()
118
如果您想获得更多帮助,请键入“disco /?”。
119![]()
120
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws"
121
Microsoft (R) Web 服务发现实用工具
122
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
123
Copyright (C) Microsoft Corporation. All rights reserved.
124
错误: http://localhost/ws
125
- 下载“ http://localhost/ws”时出错。
126
- 请求因 HTTP 状态 403 失败: Access Forbidden。
127![]()
128
如果您想获得更多帮助,请键入“disco /?”。
129![]()
130
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws/service1.asmx"
131
Microsoft (R) Web 服务发现实用工具
132
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
133
Copyright (C) Microsoft Corporation. All rights reserved.
134
Disco 在下列 URL 处找到文档:
135
http://localhost/ws/service1.asmx?disco
136
http://localhost/ws/service1.asmx?wsdl
137![]()
138
下列文件保存在相应的 URL 处找到的内容:
139
c:\service1.disco <- http://localhost/ws/service1.asmx?disco
140
c:\service1.wsdl <- http://localhost/ws/service1.asmx?wsdl
141
文件 c:\results.discomap 保存指向这些文件中的每一个的链接。
142![]()
143
D:\VS2005\VC>wsdl /out:"c:\\a.cs" C:\results.discomap C:\service1.disco C:\servi
144
ce1.wsdl
145
Microsoft(R) Web Services 描述语言实用工具
146
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
147
Copyright (C) Microsoft Corporation. All rights reserved.
148
错误: 无法识别的文件类型“C:\service1.disco”。扩展名必须为 .wsdl 和 .xsd 两者之
149
一。
150![]()
151
如果需要更多帮助,请键入“wsdl /?”。
152![]()
153
D:\VS2005\VC>wsdl /out:"c:\\a.cs" "C:\results.discomap" "C:\service1.disco" "C:\
154
service1.wsdl"
155
Microsoft(R) Web Services 描述语言实用工具
156
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
157
Copyright (C) Microsoft Corporation. All rights reserved.
158
错误: 无法识别的文件类型“C:\service1.disco”。扩展名必须为 .wsdl 和 .xsd 两者之
159
一。
160![]()
161
如果需要更多帮助,请键入“wsdl /?”。
162![]()
163
D:\VS2005\VC>wsdl /out:"c:\\a.cs" "C:\service1.wsdl"
164
Microsoft(R) Web Services 描述语言实用工具
165
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
166
Copyright (C) Microsoft Corporation. All rights reserved.
167
正在写入文件“c:\\a.cs”。
168![]()
169
D:\VS2005\VC>csc /out:"c:\a.dll" /t:libray /r:System.XML.dll /r:System.Web.Serv
170
ices.dll a.cs
171
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378
172
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
173
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。
174![]()
175
fatal error CS2019: /target 的目标类型无效:
176
必须指定“exe”、“winexe”、“library”或“module”
177
error CS2001: 未能找到源文件“a.cs”
178
fatal error CS2008: 未指定输入
179![]()
180
D:\VS2005\VC>csc /out:"c:\a.dll" /t:libray /r:System.XML.dll /r:System.Web.Serv
181
ices.dll c:\a.cs
182
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378
183
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
184
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。
185![]()
186
fatal error CS2019: /target 的目标类型无效:
187
必须指定“exe”、“winexe”、“library”或“module”
188![]()
189
D:\VS2005\VC>csc /out:"c:\a.dll" /t:library /r:System.XML.dll /r:System.Web.Ser
190
vices.dll c:\a.cs
191
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378
192
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
193
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。
194![]()
195![]()
196
D:\VS2005\VC>
Setting environment for using Microsoft Visual Studio 2005 x86 tools.2

3
D:\VS2005\VC>wsdl "c:\ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"4
Microsoft(R) Web Services 描述语言实用工具5
[Microsoft (R) .NET Framework, Version 2.0.50727.42]6
Copyright (C) Microsoft Corporation. All rights reserved.7
错误: 处理“file:///c:/ws_service1.cs”时出错。8
- 下载“file:///c:/ws_service1.cs”时出错。9
- 未能找到文件“c:\ws_service1.cs”。10
- 未能找到文件“c:\ws_service1.cs”。11
- 未能找到文件“c:\ws_service1.cs”。12

13
如果需要更多帮助,请键入“wsdl /?”。14

15
D:\VS2005\VC>wsdl "c:\\ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"16

17
Microsoft(R) Web Services 描述语言实用工具18
[Microsoft (R) .NET Framework, Version 2.0.50727.42]19
Copyright (C) Microsoft Corporation. All rights reserved.20
错误: 处理“file:///c://ws_service1.cs”时出错。21
- 下载“file:///c://ws_service1.cs”时出错。22
- 未能找到文件“c:\ws_service1.cs”。23
- 未能找到文件“c:\ws_service1.cs”。24
- 未能找到文件“c:\ws_service1.cs”。25

26
如果需要更多帮助,请键入“wsdl /?”。27

28
D:\VS2005\VC>wsdl "c://ws_service1.cs" "http://localhost/ws/service1.asmx?wsdl"29

30
Microsoft(R) Web Services 描述语言实用工具31
[Microsoft (R) .NET Framework, Version 2.0.50727.42]32
Copyright (C) Microsoft Corporation. All rights reserved.33
错误: 处理“file:///c://ws_service1.cs”时出错。34
- 下载“file:///c://ws_service1.cs”时出错。35
- 未能找到文件“c:\ws_service1.cs”。36
- 未能找到文件“c:\ws_service1.cs”。37
- 未能找到文件“c:\ws_service1.cs”。38

39
如果需要更多帮助,请键入“wsdl /?”。40

41
D:\VS2005\VC>wsdl /out:"c://ws_service1.cs" "http://localhost/ws/service1.asmx?42
wsdl"43
Microsoft(R) Web Services 描述语言实用工具44
[Microsoft (R) .NET Framework, Version 2.0.50727.42]45
Copyright (C) Microsoft Corporation. All rights reserved.46
正在写入文件“c://ws_service1.cs”。47

48
D:\VS2005\VC>csc /out:"c://ws_service1.dll" /t:library /r:System.XML.dll /r:Syst49
em.Web.Services.dll "c://ws_services.cs"50
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.137851
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.5072752
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。53

54
error CS2001: 未能找到源文件“c://ws_services.cs”55
fatal error CS2008: 未指定输入56

57
D:\VS2005\VC>csc /out:"c://ws_service1.dll" /t:library /r:System.XML.dll /r:Syst58
em.Web.Services.dll "c://ws_service1.cs"59
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.137860
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.5072761
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。62

63

64
D:\VS2005\VC>disco http://localhost/ws65
Microsoft (R) Web 服务发现实用工具66
[Microsoft (R) .NET Framework, Version 2.0.50727.42]67
Copyright (C) Microsoft Corporation. All rights reserved.68
错误: http://localhost/ws69
- 下载“http://localhost/ws”时出错。70
- 请求因 HTTP 状态 403 失败: Access Forbidden。71

72
如果您想获得更多帮助,请键入“disco /?”。73

74
D:\VS2005\VC>disco /out:"c:\" http://localhost/ws75
Microsoft (R) Web 服务发现实用工具76
[Microsoft (R) .NET Framework, Version 2.0.50727.42]77
Copyright (C) Microsoft Corporation. All rights reserved.78
错误: 输出位置 'c:" http://localhost/ws' 不是有效的目录。79

80
如果您想获得更多帮助,请键入“disco /?”。81

82
D:\VS2005\VC>disco /out:"c:\" " http://localhost/ws"83
Microsoft (R) Web 服务发现实用工具84
[Microsoft (R) .NET Framework, Version 2.0.50727.42]85
Copyright (C) Microsoft Corporation. All rights reserved.86
错误: 输出位置 'c:" ' 不是有效的目录。87

88
如果您想获得更多帮助,请键入“disco /?”。89

90
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws"91
Microsoft (R) Web 服务发现实用工具92
[Microsoft (R) .NET Framework, Version 2.0.50727.42]93
Copyright (C) Microsoft Corporation. All rights reserved.94
错误: http://localhost/ws95
- 下载“ http://localhost/ws”时出错。96
- 请求因 HTTP 状态 403 失败: Access Forbidden。97

98
如果您想获得更多帮助,请键入“disco /?”。99

100
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws" /pu:jack /pp:jack101
Microsoft (R) Web 服务发现实用工具102
[Microsoft (R) .NET Framework, Version 2.0.50727.42]103
Copyright (C) Microsoft Corporation. All rights reserved.104
错误: http://localhost/ws105
- 下载“ http://localhost/ws”时出错。106
- 请求因 HTTP 状态 403 失败: Access Forbidden。107

108
如果您想获得更多帮助,请键入“disco /?”。109

110
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws" /pu:jack /pp:jack111
Microsoft (R) Web 服务发现实用工具112
[Microsoft (R) .NET Framework, Version 2.0.50727.42]113
Copyright (C) Microsoft Corporation. All rights reserved.114
错误: http://localhost/ws115
- 下载“ http://localhost/ws”时出错。116
- 请求因 HTTP 状态 403 失败: Access Forbidden。117

118
如果您想获得更多帮助,请键入“disco /?”。119

120
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws"121
Microsoft (R) Web 服务发现实用工具122
[Microsoft (R) .NET Framework, Version 2.0.50727.42]123
Copyright (C) Microsoft Corporation. All rights reserved.124
错误: http://localhost/ws125
- 下载“ http://localhost/ws”时出错。126
- 请求因 HTTP 状态 403 失败: Access Forbidden。127

128
如果您想获得更多帮助,请键入“disco /?”。129

130
D:\VS2005\VC>disco /out:"c:\\" " http://localhost/ws/service1.asmx"131
Microsoft (R) Web 服务发现实用工具132
[Microsoft (R) .NET Framework, Version 2.0.50727.42]133
Copyright (C) Microsoft Corporation. All rights reserved.134
Disco 在下列 URL 处找到文档:135
http://localhost/ws/service1.asmx?disco136
http://localhost/ws/service1.asmx?wsdl137

138
下列文件保存在相应的 URL 处找到的内容:139
c:\service1.disco <- http://localhost/ws/service1.asmx?disco140
c:\service1.wsdl <- http://localhost/ws/service1.asmx?wsdl141
文件 c:\results.discomap 保存指向这些文件中的每一个的链接。142

143
D:\VS2005\VC>wsdl /out:"c:\\a.cs" C:\results.discomap C:\service1.disco C:\servi144
ce1.wsdl145
Microsoft(R) Web Services 描述语言实用工具146
[Microsoft (R) .NET Framework, Version 2.0.50727.42]147
Copyright (C) Microsoft Corporation. All rights reserved.148
错误: 无法识别的文件类型“C:\service1.disco”。扩展名必须为 .wsdl 和 .xsd 两者之149
一。150

151
如果需要更多帮助,请键入“wsdl /?”。152

153
D:\VS2005\VC>wsdl /out:"c:\\a.cs" "C:\results.discomap" "C:\service1.disco" "C:\154
service1.wsdl"155
Microsoft(R) Web Services 描述语言实用工具156
[Microsoft (R) .NET Framework, Version 2.0.50727.42]157
Copyright (C) Microsoft Corporation. All rights reserved.158
错误: 无法识别的文件类型“C:\service1.disco”。扩展名必须为 .wsdl 和 .xsd 两者之159
一。160

161
如果需要更多帮助,请键入“wsdl /?”。162

163
D:\VS2005\VC>wsdl /out:"c:\\a.cs" "C:\service1.wsdl"164
Microsoft(R) Web Services 描述语言实用工具165
[Microsoft (R) .NET Framework, Version 2.0.50727.42]166
Copyright (C) Microsoft Corporation. All rights reserved.167
正在写入文件“c:\\a.cs”。168

169
D:\VS2005\VC>csc /out:"c:\a.dll" /t:libray /r:System.XML.dll /r:System.Web.Serv170
ices.dll a.cs171
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378172
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727173
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。174

175
fatal error CS2019: /target 的目标类型无效:176
必须指定“exe”、“winexe”、“library”或“module”177
error CS2001: 未能找到源文件“a.cs”178
fatal error CS2008: 未指定输入179

180
D:\VS2005\VC>csc /out:"c:\a.dll" /t:libray /r:System.XML.dll /r:System.Web.Serv181
ices.dll c:\a.cs182
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378183
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727184
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。185

186
fatal error CS2019: /target 的目标类型无效:187
必须指定“exe”、“winexe”、“library”或“module”188

189
D:\VS2005\VC>csc /out:"c:\a.dll" /t:library /r:System.XML.dll /r:System.Web.Ser190
vices.dll c:\a.cs191
Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.1378192
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727193
版权所有 (C) Microsoft Corporation 2001-2005。保留所有权利。194

195

196
D:\VS2005\VC>
错误: 处理“file:
浙公网安备 33010602011771号