在 Visual Web Developer Express 中测试不可用于 Web 服务的输入字段

发布于 2024-07-23 00:29:17 字数 300 浏览 3 评论 0原文

我有一个 Web 服务,正在尝试在 Visual Web Developer Express Edition (Service Pack 1) 中进行测试。 我正在使用 SVN 存储库的两个不同分支上的两个不同网站,但代码基本相同。 Web 服务的代码相同,但其他功能存在一些代码差异。

我的问题是,当在调试模式下访问 Web 服务规范页面(即 MyWebService.asmx)时,应该有用于输入该 Web 服务参数的文本字段。 在这些网站之一上,可以使用这些字段。 另一方面,它们不可用。 我不明白为什么/如何这两个设置之间应该有任何差异。

I have a web service that I am trying to test in Visual Web Developer Express Edition (Service Pack 1). I am working with two different websites on two different branches from an SVN repository but largely the same code. The web services are the same code but there are some code differences for other features.

My problem is that when going to the web service specification page in debug mode (i.e. MyWebService.asmx) there should be text fields for inputting parameters for that web service. On one of these web sites the fields are available. On another they are not available. I don't understand why/how there should be any differences between the two setups.

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

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

发布评论

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

评论(1

新一帅帅 2024-07-30 00:29:17

仅当 HTTP POST 可用作提交选项时,您才能获取字段,如果您的提交参数中有复杂类型,则 HTTP POST 可能无法处理它们,因此不会启用...那么字段将不会被启用。不会出现在帮助程序页面上。

You only get the fields when HTTP POST is available as a submission option, if you have complex types in your submission parameters then HTTP POST may not be able to handle them and as such won't be enabled... then the fields won't be present on the helper page.

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