登录
首页 » Windows Socket编程 » VC中调用WebService的问题,其实在Visual Studio.Net(下称VS.NET)及其以后的版本中调用WebService已经变得相当简单。你所...

VC中调用WebService的问题,其实在Visual Studio.Net(下称VS.NET)及其以后的版本中调用WebService已经变得相当简单。你所...

于 2022-01-27 发布 文件大小:55.48 kB
0 216
下载积分: 2 下载次数: 1

代码说明:

VC中调用WebService的问题,其实在Visual Studio.Net(下称VS.NET)及其以后的版本中调用WebService已经变得相当简单。你所要做的只是“找到 WebService的发布地址”,然后将其引用添加到VC项目中即可。接下来VS.NET帮你生成的代理类,会帮你搞定一大堆的麻烦事,包括:网络调用、数据传递等等;什么SOAP啊、网络啊,你都可以不管。 InvokeConsole // 在控制台中调用WebService的Demo InvokeDemo // 在MFC程序中调用WebService的Demo -VC Calling WebService problem, In Visual Studio (hereinafter referred to VS.NET) and its subsequent version called W ebService has become quite simple. You had to do was to "find the publication addresses WebService" then added to the quoted VC project can be. VS.NET help you to the next generation of Acting Class, Bangnigaoding lot of trouble, including : network calling, data transmission, etc.; What SOAP ah, network ah, you can regardless. InvokeConsole// Calling the console in the Demo rooted WebService okeDemo// MFC in proceedings called the Demo WebService

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP...
    计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。 由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。 还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。 当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。 -calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tai
    2022-01-26 06:39:03下载
    积分:1
  • 演示如何用MFC和DAO(数据访问对象)写一个CGI扩展服务器,程序动态生成一个网页显示数据库中的前三条记录(8KB)<END>...
    演示如何用MFC和DAO(数据访问对象)写一个CGI扩展服务器,程序动态生成一个网页显示数据库中的前三条记录(8KB)-演engraved 如何 sputum MFC 和 DAO (Kam 据访 mad 对 kick) reclaimed land 个 CGI 扩 Nanjing Lan Jiao 服 器, 程 Saitama 动 生 成 dispatch Nanjing Gong 个 carved female显Kam 据库 Shilu 的前三 Department of 记录 (8KB)
    2022-02-03 19:59:32下载
    积分:1
  • SMS WAP bookmarks set up procedures C source code using a user
    SMS设置WAP书签 C 程序源码 方便用户的使用. 是个不错的源码.-SMS WAP bookmarks set up procedures C source code using a user-friendly. It is a good source.
    2023-08-01 20:00:07下载
    积分:1
  • through reading his network programming to understand the new technologies and a...
    通过阅读他能了解网络编程的新技术和应用,好处-through reading his network programming to understand the new technologies and applications, many benefits
    2022-04-12 01:33:49下载
    积分:1
  • 完成端口模型的实现,基本的框架,可以利用这个框架扩充
    完成端口模型的实现,基本的框架,可以利用这个框架扩充-Realize the completion port model, the basic framework, this framework can be used to expand
    2022-04-15 00:40:34下载
    积分:1
  • 2023-07-04 23:55:03下载
    积分:1
  • SMTP邮件发送。。。。。可以用自己的SMTP服务器发送邮件
    SMTP邮件发送。。。。。可以用自己的SMTP服务器发送邮件-SMTP mail. . . . .
    2023-01-05 09:45:04下载
    积分:1
  • CSocket CSocket Communication Program Communication Program
    Csocket通信程序 Csocket通信程序 -CSocket CSocket Communication Program Communication Program
    2022-11-14 04:25:02下载
    积分:1
  • The program standard BitSpoder category realize, realize multi
    该程序采用标准的BitSpoder类实现,实现BitTorrent多点下载。-The program standard BitSpoder category realize, realize multi-point BitTorrent download.
    2022-03-19 16:14:42下载
    积分:1
  • Step by step teach you how to program Objective
    Step by step teach you how to program Objective-C 2.0 on Mac OS X.
    2022-02-05 04:32:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载