惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
T
Threatpost
C
CERT Recently Published Vulnerability Notes
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Security Archives - TechRepublic
Security Archives - TechRepublic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
Project Zero
Project Zero
H
Heimdal Security Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Know Your Adversary
Know Your Adversary
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Schneier on Security
Schneier on Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
News | PayPal Newsroom
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Cloudbric
Cloudbric
V
Vulnerabilities – Threatpost
Hacker News: Ask HN
Hacker News: Ask HN
S
Securelist
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
NISL@THU
NISL@THU
N
News and Events Feed by Topic
S
Security Affairs
The Last Watchdog
The Last Watchdog
T
Tor Project blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
AWS News Blog
AWS News Blog
P
Proofpoint News Feed
C
Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tenable Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Schneier on Security

博客园 - Kevin Wu

你是否也爱车 Asp..net 页面间跳转方法 Windows Server 2008 RC0正式发布、下载 通过Url抓取网页内容 如何生成静态页面的五种方案 (转)怎样用dos入侵局域网 闲里偷忙 [导入]学习网页制作: 用CSS来控制网页背景 (转)解决AJAX中使用UpdatePanel后再用Response.Write();等无法弹出对话框问题 3法 为你的aspx页面加上ajax enable - Kevin Wu 几种保持页面状态信息的讨论(转) JDK1.5+Tomcat5+MySql+Juddi 架设UDDI服务器 拒绝了对对象 'xp_cmdshell'(数据库 'master',所有者 'dbo')的 EXECUTE 权限 解决方法 无法将类型“ASP.login_aspx”转换为“System.Web.UI.WebControls.Login” 错误处理 终于考完试了~~~ 远程控制(3) 远程控制(2) 关于windows hook的提问 远程控制(1)
在Windows Servrer 2003下安装UDDI服务和UDDI .NET SDK
Kevin Wu · 2007-05-21 · via 博客园 - Kevin Wu

近来在搞Web Services,由于需要,要在本机建立一个UDDI服务中心进行服务的注册和搜索,所以在网上转了好多好多圈,找到两个可以用的东西 Windows Server 2003 下的UDDI服务 和开源的 JUDDI,今天早上弄了一个早上的JUDDI,终于把它设置好,详情请看:JDK1.5+Tomcat5+MySql+Juddi 架设UDDI服务器.

 安装windows的东西还是比较简单的,下载UDDI .NET SDK(更正下载地址)包,然后在添加删除程序中选择添加组件,选择UDDI服务,安装,安装过程中按你的需要选择选项,其中在推荐使用SSL安全套接字层的时候我没有选,因为前天晚上选了之后,发现这个SSL的东西搞得很麻烦.挺郁闷的。所以我重新装了一次.好了,如无意外,安装完毕后,打开http://localhost/uddi,你就可以看到你期待的画面了.

然后安装UDDI .NET SDK包,没什么好说,解压->运行->安装,毕竟是微软自己的东西.

安装完毕,用Visual Studio新建一个工程,添加引用,选择Microsoft.UDDI.SDK,再添加引用

using Microsoft.Uddi;
using Microsoft.Uddi.Business;
using Microsoft.Uddi.Service;
using Microsoft.Uddi.Binding;
using Microsoft.Uddi.ServiceType;
using Microsoft.Uddi.Api;

输入下面代码,忘记说了,我的是控制台程序

            Inquire.Url = "http://localhost/uddi/inquire.asmx";

            FindBusiness fbusiness 
= new FindBusiness();//创建FindBusiness对象以调用find_business

            fbusiness.Names.Add(
"microsoft");//加入要查找的商业实体名

            BusinessList bList 
= fbusiness.Send();//发送查找请求

            Console.WriteLine(bList.BusinessInfos.Count.ToString());

好,没有出错并且返回结果0,证明能够连接到到并且可以查询,只是你的计算机上没有相应的商业实体存在而已.

下次写怎么发布和搜索才行

友情提示:
如需转载本文,请遵守"本站协议"并加入下面声明 且注明原文链接。
作者:kevin wu
来源:kevin wu's corner