Chinaunix首页 | 论坛 | 博客
  • 博客访问: 76354
  • 博文数量: 47
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 560
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-12 18:04
文章分类

全部博文(47)

文章存档

2010年(7)

2009年(40)

我的朋友

分类: 系统运维

2009-02-26 15:18:15

webservice 学习(1): 底层交互数据

1. http请求wsdl

GET /soap.php?wsdl HTTP/1.1.
Host: 192.168.6.249:7980.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6.
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8.
Accept-Language: zh-cn,zh;q=0.5.
Accept-Encoding: gzip,deflate.
Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7.
Keep-Alive: 300.
Connection: keep-alive.
Cookie: ystat_bc_652307=36500776003190430918.

2. http响应wsdl






















































































3. http 客户soap请求

POST /soap.php HTTP/1.1.
Host: 192.168.6.249:7980.
User-Agent: gSOAP/2.7.
Content-Type: text/xml; charset=utf-8.
Content-Length: 454.
Connection: close.
SOAPAction: "".


                   xmlns:SOAP-ENC=""
                   xmlns:xsi=""
                   xmlns:xsd=""
                   xmlns:ns1=""
                   xmlns:ns2="/xsd">
    
        
            9
            10
        

    



4. http服务soap响应
HTTP/1.1 200 OK.
Date: Thu, 26 Feb 2009 06:36:10 GMT.
Server: Apache/2.2.6 (Unix) mod_ssl/2.2.6  PHP/5.2.4.
X-Powered-By: PHP/5.2.4.
Content-Length: 243.
Connection: close.
Content-Type: text/xml;charset=utf-8.


    
    
        
            19
        

    

阅读(586) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~