-
大小: 65KB文件类型: .zip金币: 2下载: 0 次发布日期: 2021-05-13
- 语言: 其他
- 标签: 微软 webservice 接口 工具
资源简介
这个工具也是在网上不经意间发现的 使用过后感觉很不错
主程序文件才100多kb但是能做的事情却很多 给需要的伙伴们分享

代码片段和文件信息
/*============================================================
**
** Purpose: The MainWindow UI
** Date: Jan 12 2003
** Author: Sowmy Srinivasan
**
===========================================================*/
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing.Design;
using System.Runtime.InteropServices;
using System.Security.Cryptography.xml;
using System.Security.Cryptography;
using System.Web.Services.Protocols;
using System.Windows.Forms;
using System.xml.Serialization;
using System.Text;
using System.IO;
using System;
using Microsoft.Web.Services.Security.X509;
using Microsoft.Web.Services.Security;
using Microsoft.Web.Services.Dime;
using Microsoft.Web.Services;
using WebServiceStudio;
public class WSEProxyProperties : IAdditionalProperties{
public WSETimestamp Timestamp;
public WSESecurity Security;
public WSEDimeAttachment[] Attachments;
public WSEProxyProperties(HttpWebClientProtocol proxy){
WebServicesClientProtocol wseProxy = (WebServicesClientProtocol)proxy;
Timestamp = new WSETimestamp(wseProxy);
Security = new WSESecurity(wseProxy);
Attachments = null;
}
public void UpdateProxy(HttpWebClientProtocol proxy){
if (Timestamp != null)
Timestamp.UpdateProxy((WebServicesClientProtocol)proxy);
if (Security != null)
Security.UpdateProxy((WebServicesClientProtocol)proxy);
if (Attachments != null){
foreach(WSEDimeAttachment attachment in Attachments){
attachment.UpdateProxy((WebServicesClientProtocol)proxy);
}
}
}
}
public class WSETimestamp {
public long Ttl;
public WSETimestamp(WebServicesClientProtocol wseProxy){
Ttl = wseProxy.RequestSoapContext.Timestamp.Ttl;
}
public void UpdateProxy(WebServicesClientProtocol wseProxy){
wseProxy.RequestSoapContext.Timestamp.Ttl = Ttl;
}
}
public class WSESecurity {
public WSESignature Signature;
public WSEEncryption Encryption;
public WSESecurity(WebServicesClientProtocol wseProxy){
Signature = null;
Encryption = null;
}
public void UpdateProxy(WebServicesClientProtocol wseProxy){
if (Signature != null)
Signature.UpdateProxy(wseProxy);
if (Encryption != null)
Encryption.UpdateProxy(wseProxy);
}
}
[xmlInclude(typeof(WSEUsernameSignature))]
[xmlInclude(typeof(WSECertificateSignature))]
public abstract class WSESignature{
public abstract void UpdateProxy(WebServicesClientProtocol wseProxy);
}
public class WSEUsernameSignature: WSESignature{
public string Username;
public string Password;
public PasswordOption PasswordOption;
public WSEUsernameSignature(){
Username=null;
Password=null;
PasswordOption = PasswordOption.SendPlainText;
}
public override void
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-02-04 23:07 WebserviceStudio20\
目录 0 2019-02-04 23:07 WebserviceStudio20\WSEExt\
文件 21857 2003-04-10 18:54 WebserviceStudio20\WSEExt\WSEExt.cs
文件 1201 2003-04-10 18:50 WebserviceStudio20\WSEExt\build.bat
目录 0 2019-02-04 23:07 WebserviceStudio20\bin\
文件 143360 2003-03-19 14:37 WebserviceStudio20\bin\WebServiceStudio.exe
文件 2415 2019-01-23 15:16 WebserviceStudio20\bin\WebServiceStudio.exe.options
文件 13312 2003-03-19 14:37 WebserviceStudio20\bin\wseext.dll
文件 18911 2003-04-10 19:25 WebserviceStudio20\readme.rtf
相关资源
- MCS_51单片机与8255A的接口设计
- 微软masm汇编编译器
- 8259A中断控制实验
- I2C总线接口设计
- 应用接口支持库1.1版eAPI
- 手机短信api接口(源代码)
- 微软的可以删除系统卸不干净的软件
- ATA(ATAPI)接口指令协议硬盘基础知识
- 通过webservice上传和下载文件
- 基于FPGA的USB接口设计
- 枚举USB设备接口(C 源代码)
- 基于SSM+CXF构建的RESTFul webservice
- 微软官方DOS命令手册
- 8051单片机教程第二十六课:矩阵式键
- 矿用多功能网关通信接口设计
- 液晶显示器VGA视频接口及显示规范
- 税控发票开票软件发票信息数据接口
- PLC通讯与接口
- 用Verilog语言写的CPLD和MCU通讯的SPI接口
- 浪潮FC光纤接口系统SAN存储解决方案
- 微软携手NetApp共建私有云 助锦江酒店
- 佐藤打印机SATO打印接口控件
- 基于LPC2134与T6963C液晶显示模块的接口
- LPC2134与T6963C液晶显示模块的接口设计
- 基于ARM微处理器的液晶触摸屏接口设
- 解读ARM7内核微控制器以太网接口电路
- SAC型液压支架控制器检测平台的设计
- QLogic与LSI Logic合作提供微软 Simple SA
- LSI展示端到端SAS解决方案和存储接口
- 一步一步初学Lis接口一
评论
共有 条评论