如何在现有项目中使用Web服务

编程入门 行业动态 更新时间:2024-10-17 19:31:09
本文介绍了如何在现有项目中使用Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在当前项目中使用Web服务. 我知道所有过程如何创建Web服务,然后如何添加对我的项目的引用,但是在尝试在当前项目中使用时创建Web服务后,我无法获得该创建的Web服务. 我在同一项目中创建Web服务的位置. 请建议我我做错了.

I want to Use Web service in my current project. I know all Procedure How to Create Web Service Then How to add Reference to my Project but After Creating Web Service When I Was Try to use in my Current Project I''m unable to get that created Web service. Where As I Created the Web Service in Same Project. Please Suggest me What I''m doing Wrong.

推荐答案

您是否已通过webreference添加了对它的引用? 设置为您的 *.asmx 文件的启动项目,并检查其是否在浏览器中成功运行. 如果成功运行,则复制URL,然后在此URL的帮助下添加Web参考. have you add reference it through webreference ? set as startup project to your *.asmx file and check if it run successully in browser. if it run successfully then copy URL and then add web reference with the help of this URL.

您可以点击链接,它详细说明了如何在asp中使用Web服务.项目 构建XML Web服务客户端 如果您遇到任何特定的错误,请更新您的问题.可以专门解决. You can follow the link, it explains in detail how to use web services in your asp project Building XML Web Service Clients If you are getting any specific error update your question. It can be specifically addressed.

在这里,我为asp中的Web服务提供了一些链接 因此,只需检查这些链接即可. www.codeproject/KB/webservices/WebServiceConsumer.aspx 还有 www. asp/general/videos/how-do-i-create-and-call-a-simple-web-service-in-aspnet 最好的 Hi, Here I''m providing some links for webservices in asp so just check these links. www.codeproject/KB/webservices/WebServiceConsumer.aspx And www.asp/general/videos/how-do-i-create-and-call-a-simple-web-service-in-aspnet All the Best

更多推荐

如何在现有项目中使用Web服务

本文发布于:2023-11-17 08:43:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609499.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   如何在   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!