以文本方式查看主题 - 计算机科学论坛 (http://bbs.xml.org.cn/index.asp) -- 『 Web Services & Semantic Web Services 』 (http://bbs.xml.org.cn/list.asp?boardid=10) ---- 用过uddi sdk的同学请进 (http://bbs.xml.org.cn/dispbbs.asp?boardid=10&rootid=&id=29487) |
-- 作者:virtualfactory -- 发布时间:3/28/2006 10:49:00 PM -- 用过uddi sdk的同学请进 我急!! 我用uddi sdk访微软的uddi服务,代码如下,但是出错了,提示401错误,unauthorized.但我相同的用户名跟密码在客户端通过web页可以访问。 Publish.Url = "http://simu-center/uddi/publish.asmx"; Publish.User = "administrator"; Publish.Password = "94640"; //Create tModel SaveTModel stm = new SaveTModel(); stm.TModels.Add(); stm.TModels[0].Name = "http://23.104.210.160/testuddi.asmx"; stm.TModels[0].Descriptions.Add("en","Insert description here"); stm.TModels[0].OverviewDoc.OverviewURL = "Insert URL of WSDL here"; //The following line is necessary for proper categorization of your tModel stm.TModels[0].CategoryBag.Add("uddi-org:types","wsdlSpec","uuid:c1acf26d-9672-4404-9d70-39b756e62ab4"); string sTModelKey = ""; //Send to UDDI
|
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |