怎么根据wsdl文档生成c#平台Web服务代码 太长了发不完
//------------------------------------------------------------------------------// <auto-generated>
// 此代码由工具生成。
// 运行库版本:2.0.50727.42
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// 此源代码由 wsdl 自动生成, Version=2.0.50727.42。
//
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="inpatientRedeemWebServiceSoapBinding", Namespace="http://webservice.cmis.taiyang.com/")]
public partial class inpatientRedeemWebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback cliCancelSettlementOperationCompleted;
private System.Threading.SendOrPostCallback cliSingleCancleFeeOperationCompleted;
private System.Threading.SendOrPostCallback cliSeekOperationCompleted;
private System.Threading.SendOrPostCallback inpSingleCancelFeeOperationCompleted;
private System.Threading.SendOrPostCallback auditingSeekOperationCompleted;
private System.Threading.SendOrPostCallback redeemTypeDownOperationCompleted;
private System.Threading.SendOrPostCallback cliDetailInputOperationCompleted;
private System.Threading.SendOrPostCallback cliAuditingSeekOperationCompleted;
private System.Threading.SendOrPostCallback cliCalculateOperationCompleted;
private System.Threading.SendOrPostCallback updateLeechdomOperationCompleted;
private System.Threading.SendOrPostCallback inpDetailInputOperationCompleted;
private System.Threading.SendOrPostCallback cliSettlementOperationCompleted;
private System.Threading.SendOrPostCallback calculateOperationCompleted;
private System.Threading.SendOrPostCallback updateDiseaseOperationCompleted;
private System.Threading.SendOrPostCallback cliBalanceOperationCompleted;
private System.Threading.SendOrPostCallback matchUpdateOperationCompleted;
private System.Threading.SendOrPostCallback matchSeekOperationCompleted;
private System.Threading.SendOrPostCallback inpCancelFeeOperationCompleted;
private System.Threading.SendOrPostCallback cliRegisterOperationCompleted;
private System.Threading.SendOrPostCallback inpDetailSeekOperationCompleted;
private System.Threading.SendOrPostCallback cliDetailSeekOperationCompleted;
private System.Threading.SendOrPostCallback cliCancelFeeOperationCompleted;
private System.Threading.SendOrPostCallback inpPayOperationCompleted;
private System.Threading.SendOrPostCallback officeCodeDownOperationCompleted;
private System.Threading.SendOrPostCallback getHospitalInfoOperationCompleted;
private System.Threading.SendOrPostCallback cliStrikeBalanceOperationCompleted;
private System.Threading.SendOrPostCallback isCashRedeemOperationCompleted;
private System.Threading.SendOrPostCallback inpRegisterOperationCompleted;
private System.Threading.SendOrPostCallback createRedeemInfoOperationCompleted;
private System.Threading.SendOrPostCallback connectTestingOperationCompleted;
private System.Threading.SendOrPostCallback getInpatientGradeListOperationCompleted;
private System.Threading.SendOrPostCallback getPersonInfoOperationCompleted;
--------------------编程问答-------------------- 帮帮忙,实在头大,搞不明白。 --------------------编程问答-------------------- 执行 命令
disco /out:outdir http://192.168.0.1/test.asmx
cd outdir
wsdl /par:parameter.xml
parameter.xml 内容, 若干选项可配, 这里生成 C# 文件 testclient.cs
<?xml version="1.0" encoding="gb2312"?>
<wsdlParameters xmlns="http://microsoft.com/webReference/">
<nologo>true</nologo>
<parsableerrors>false</parsableerrors>
<sharetypes>false</sharetypes>
<language>CS</language>
<namespace>testdemo</namespace><!-- 这里 -->
<out>testclient.cs</out><!-- 这里 -->
<documents>
<document>results.discomap</document>
</documents>
<webReferenceOptions>
<verbose>false</verbose>
<codeGenerationOptions>properties oldAsync</codeGenerationOptions>
<style>client</style>
</webReferenceOptions>
</wsdlParameters>
补充:.NET技术 , C#