asmx .net 2.0 网络服务

发布于 2024-07-14 08:19:24 字数 86 浏览 4 评论 0原文

我创建了一个网络服务,将其上传到远程服务器上的我的网站。 我尝试浏览它,但我不能,我还尝试通过 vs08 添加对他的地址的网络引用,但那里发生了同样的问题。

i created a web service, upload it to my site on a remote server.
i tried to browse it but i cant, i also tried to add web reference to his adress through vs08 but the same problem happened there.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不一样的天空 2024-07-21 08:19:24

好的,根据您的评论:

我没有收到任何错误,只有当
接下来我得到一个 404 页面未找到
错误,名称空间是
"http://www.poppetz.com/poppetz"; 但
该服务实际上是在
http://www.popetz.co.il/Services/Poppetz.asmx
也许这就是问题??? 我
通过 ftp 使用 vs08 进行部署 –
Chen Kinnrot(2 分钟前)

您的服务的命名空间与您能否访问它无关。

如果您将一个普通的旧 test.html 回显“hello world”并将其放在与您的服务相同的目录中,您可以访问它吗?
即: http://www.popetz.co.il/Services/test.html< /a>

您能否访问托管 Web 服务的计算机。 如果是这样,如果您查看 IIS 管理器,您能在您期望的网站中看到 ASMX 吗?

如果没有,则开始查看 IIS 配置并确保网站目录与转储 Web 服务文件的文件夹相同。

Ok, based on your comment:

i didnt get any errors, only when
beowsing it i get a 404 page not found
error, the name space is
"http://www.poppetz.com/poppetz"; but
the service is actually in
http://www.popetz.co.il/Services/Poppetz.asmx
maybe this is the problem??? i
deployed it with vs08 through ftp –
Chen Kinnrot (2 mins ago)

The namespace of your service will have nothing to do with you being able to access it.

If you put a plain old test.html that echo "hello world" back to you and put that in the same directory as your service, can you access that?
ie: http://www.popetz.co.il/Services/test.html

Can you get access to the machine hosting the web services. If so, if you look in the IIS manager, can you see the ASMX in the web site you are expecting it be in?

If not, then start looking at the IIS configuration and make sure that web site directory is the same folder as you are dumping the web service files.

梨涡少年 2024-07-21 08:19:24

10x 每个人,服务器提供商更改了一些 iis 配置,一切正常...\

10x everyone, the server provider change some iis config and everything works...\

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文