WebService的简单应用
2024-10-14 20:54:06
具体看项目源文件:包含: ip地址查询, QQ在线状态查询,和自定义的MD5 破解和加密(呵呵有形无势...)
http://pan.baidu.com/s/1bn09WQj
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /MD5Crack.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/MD5Encrypt" <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<MD5Encrypt xmlns="http://tempuri.org/">
<plainText>string</plainText>
</MD5Encrypt>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<MD5EncryptResponse xmlns="http://tempuri.org/">
<MD5EncryptResult>string</MD5EncryptResult>
</MD5EncryptResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /MD5Crack.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length <?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<MD5Encrypt xmlns="http://tempuri.org/">
<plainText>string</plainText>
</MD5Encrypt>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length <?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<MD5EncryptResponse xmlns="http://tempuri.org/">
<MD5EncryptResult>string</MD5EncryptResult>
</MD5EncryptResponse>
</soap12:Body>
</soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /MD5Crack.asmx/MD5Encrypt HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
Content-Length: length plainText=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length <?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>
最新文章
- .net windows Kafka 安装与使用入门(入门笔记)
- win10安装blueCFD
- Zabbix客户端安装
- printf的特殊用法
- ClickOnce部署(4):下载多个安装包
- 预备作业02:成功经验与C语调查20155230
- Writing the first draft of your science paper — some dos and don’ts
- Js中的window.parent ,window.top,window.self ,window.openner详解
- dojo 资源库
- http://www.cnblogs.com/yyyyy5101/archive/2011/03/11/1981078.html
- ASP.NET - Repeater控件删除按钮,点击删除信息
- 求解轨道力学二体意义下的Lambert方程(兰伯特方程)的Fortran程序
- 百度地图 js api 实现 line 居中显示
- Java类加载机制、类加载器和反射机制-思维导图
- 基于Quartz实现简单的定时发送邮件
- 側滑回退的layout(相似IOS側滑回退到上一个activity)
- python之科学函数课——Numpy
- arcengine新建要素类
- STM32F105开发板
- 【CUDA学习】内核程序调试