加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

wsdl 生成 webservice 代理类

发布时间:2020-12-17 02:00:32 所属栏目:安全 来源:网络整理
导读:-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 .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]));
??? }

? }

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读