如何在 VS2008 中将 search.asmx Web 引用添加到 Webpart 应用程序?面临问题

发布于 2024-09-06 06:59:07 字数 441 浏览 1 评论 0原文

我正在尝试创建自定义搜索 Web 部件。我想使用企业搜索查询模型(MOSS)。但无法添加search.asmx Web服务的Web引用。事实上它没有 WSDL 文件。只是想知道它需要什么设置......如果有人知道怎么做,也一样。请告诉我。您可以在

已编辑:http:// /server_name:port_no/sites/site_name/_vti_bin/search.asmx"

我尝试右键单击项目上的 Add Service Reference ,插入 Go 的 url,但那里没有这个。我也尝试过网络应用程序。但没有效果。即使我可以在浏览器中看到方法,但无法生成 WSDL ?

I am trying to create the custom search webpart. I want to use Enterprise Search Query Model (MOSS) . But unable to add the web reference of the search.asmx webservice. infact it has no WSDL file. just wondering about what setting it needs.... too If anybody know how to do, same. please let me know. you can find the search webservice at

Edited : "http://server_name:port_no/sites/site_name/_vti_bin/search.asmx"

I tried by right cliking on project said Add Service Reference , inserts the url said Go , but nothis was there. same i tried with web aplication . but no effect. even i can see the methods in browser, but cannot generate WSDL ??

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

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

发布评论

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

评论(2

琴流音 2024-09-13 06:59:07

您使用了错误的网址。

http://PORTAL/_vti_bin/spsearch.asmx 适用于 WSS3。

http://PORTAL/_vti_bin/search.asmx 适用于 MOSS。

另请查看用于搜索 SharePoint 2007 的测试工具

You are using the wrong url.

http://PORTAL/_vti_bin/spsearch.asmx is for WSS3.

http://PORTAL/_vti_bin/search.asmx is for MOSS.

Also check out a test tool for searching SharePoint 2007.

待天淡蓝洁白时 2024-09-13 06:59:07

问题解决了。在浏览器中浏览searchwsdl.aspx。它生成 wsdl (xml) 格式文件。只需提供该应用程序的网络参考即可。那个它。

Problem solved. browse searchwsdl.aspx in browser. it generates the wsdl (xml) format file. just give the web reference to the application. that it.

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