-Microsoft .NET Framework SDK v2.0
--SDK Command Prompt
---D:/Program Files/Microsoft Visual Studio 8/SDK/v2.0>
wsdl http://qcs-iptest/myprofile/myprofile/updatehrms.asmx /out:c:/1.cs
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework,Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Writing file 'c:/1.cs'.
?
?
剔除异步的方法
//------------------------------------------------------------------------------
// <auto-generated>
//???? This code was generated by a tool.
//???? Runtime Version:2.0.50727.1873
//
//???? Changes to this file may cause incorrect behavior and will be lost if
//???? the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// This source code was auto-generated by 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 = "UpdateHRMSSoap",Namespace = "http://tempuri.org/")]
public partial class MyProfileUpdateHRMS : System.Web.Services.Protocols.SoapHttpClientProtocol
{
??? private System.Threading.SendOrPostCallback MyProfileUpdateHRMSOperationCompleted;
??? /// <remarks/>
??? public MyProfileUpdateHRMS()
??? {
??????? this.Url = "http://qcs-iptest/myprofile/myprofile/updatehrms.asmx";
??? }
??? /// <remarks/>
??? [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MyProfileUpdateHRMS",RequestNamespace = "http://tempuri.org/",ResponseNamespace = "http://tempuri.org/",Use = System.Web.Services.Description.SoapBindingUse.Literal,ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
??? public bool MyProfileUpdateHRMS(string strEmpInfoXml)
??? {
??????? object[] results = this.Invoke("MyProfileUpdateHRMS",new object[] {
??????????????????? strEmpInfoXml});
??????? return ((bool)(results[0]));
??? }
? }