CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  Web Services

求助:急~~~~这个WebService如何调用?

楼主dfzx()2006-05-02 23:55:58 在 .NET技术 / Web Services 提问

Query  
   
  测试  
  测试窗体只能用于使用基元类型或基元类型数组作为参数的方法。    
  SOAP  
  下面是一个   SOAP   请求和响应示例。所显示的占位符需要由实际值替换。  
   
  POST   /creditSetup/CreditWebService.asmx   HTTP/1.1  
  Host:   localhost  
  Content-Type:   text/xml;   charset=utf-8  
  Content-Length:   length  
  SOAPAction:   "http://tempuri.org/Query"  
   
  <?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>  
          <Query   xmlns="http://tempuri.org/">  
              <queryRequest>  
                  <DealNo>string</DealNo>  
                  <DealDeatilRequest>  
                      <DealDetail>  
                          <RecordNo>string</RecordNo>  
                          <AccountNo>string</AccountNo>  
                          <AccountName>string</AccountName>  
                          <BankNo>string</BankNo>  
                          <CounterNo>string</CounterNo>  
                          <AccountType>Bank   or   Pos   or   Unknown</AccountType>  
                          <DealType>Deposit   or   Refundment   or   Check</DealType>  
                          <AccountBalance>double</AccountBalance>  
                          <DealAmount>double</DealAmount>  
                          <DealTime>string</DealTime>  
                      </DealDetail>  
                      <DealDetail>  
                          <RecordNo>string</RecordNo>  
                          <AccountNo>string</AccountNo>  
                          <AccountName>string</AccountName>  
                          <BankNo>string</BankNo>  
                          <CounterNo>string</CounterNo>  
                          <AccountType>Bank   or   Pos   or   Unknown</AccountType>  
                          <DealType>Deposit   or   Refundment   or   Check</DealType>  
                          <AccountBalance>double</AccountBalance>  
                          <DealAmount>double</DealAmount>  
                          <DealTime>string</DealTime>  
                      </DealDetail>  
                  </DealDeatilRequest>  
              </queryRequest>  
          </Query>  
      </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>  
          <QueryResponse   xmlns="http://tempuri.org/">  
              <QueryResult>  
                  <DealNo>string</DealNo>  
                  <QueryRecordResponse>  
                      <QueryRecord>  
                          <QueryAmount>double</QueryAmount>  
                          <SiteAddress>string</SiteAddress>  
                          <SiteOwner>string</SiteOwner>  
                          <SitePhone>string</SitePhone>  
                          <CertificateNo>string</CertificateNo>  
                          <SiteNo>string</SiteNo>  
                      </QueryRecord>  
                      <QueryRecord>  
                          <QueryAmount>double</QueryAmount>  
                          <SiteAddress>string</SiteAddress>  
                          <SiteOwner>string</SiteOwner>  
                          <SitePhone>string</SitePhone>  
                          <CertificateNo>string</CertificateNo>  
                          <SiteNo>string</SiteNo>  
                      </QueryRecord>  
                  </QueryRecordResponse>  
              </QueryResult>  
          </QueryResponse>  
      </soap:Body>  
  </soap:Envelope>  
   
   
  地址:http://localhost/creditSetup/CreditWebService.asmx?op=Query 问题点数:30、回复次数:3Top

1 楼shiyubeijing()回复于 2006-05-04 09:39:39 得分 0

UpTop

2 楼webwalker(Jason.Xu@BenQ.com)回复于 2006-05-06 23:29:36 得分 0

太多  
   
  upTop

3 楼YAOHE(吆喝)回复于 2006-05-09 11:13:02 得分 30

在项目中添加web   service的引用,VS即可生成客户端代理类,实例化类,按类的方法操作即可Top

相关问题

关键词

得分解答快速导航

  • 帖主:dfzx
  • YAOHE

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo