系统环境:windows XP
开发环境:
WebService: Visual studio 2005
web application: Visual studio 2003
vs2003的web程序调用vs2005的webservice.
调试步骤:
1,在vs2005项目的同一解决方案中添加一个测试网站
2,在该测试网站中添加WebService引用,此时会产生一个vs的Web服务器
3,在vs2003项目中添加vs的Web服务器对应的服务的web引用。
注释:若未产生vs的Web服务器,添加引用时会无法访问
4,在vs2005的webService项目中添加3中的进程
5,打开vs2003应用程序开始调用,当运行到相应的方法时,F11进入webservice方法。