以文本方式查看主题 - 计算机科学论坛 (http://bbs.xml.org.cn/index.asp) -- 『 Web Services & Semantic Web Services 』 (http://bbs.xml.org.cn/list.asp?boardid=10) ---- UDDI注册的问题! (http://bbs.xml.org.cn/dispbbs.asp?boardid=10&rootid=&id=27653) |
-- 作者:njtoto -- 发布时间:2/23/2006 2:40:00 PM -- UDDI注册的问题! 本人在自己机子上搭了一个UDDI平台,用来提供服务的发布和查询,但是今天发现问题多多,比如,目前我用juddi平台自带的用户界面程序console:http://localhost:8080/juddi/console/controller.jsp来使用save_business进行发布 businessEntity,在soap请求栏中输入了 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <save_tModel generic="2.0" xmlns="urn:uddi-org:api_v2"> <authInfo>juddi</authInfo> <tModel tModelKey=""> <name>http://localhost:8080/axis/services/FirstWebService</name> <description>http://localhost:8080/axis/services/FirstWebService</description> <overviewDoc> <description>firstwebservice</description> <overviewURL>http://localhost:8080/axis/services/FirstWebService?wsdl</overviewURL> </overviewDoc> <identifierBag> <keyedReference tModelKey="UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4" keyName="uddi-org:types" keyValue="wsdlSpec" /> </identifierBag> <categoryBag> <keyedReference tModelKey="UUID:DB77450D-9FA8-45D4-A7BC-04411D14E384" keyName="Stock market trading services" keyValue="84121801" /> </categoryBag> </tModel> </save_tModel> </soapenv:Body> </soapenv:Envelope> 然后submit,但是发现没有成功,出现了下面的问题(juddi是用户名,数据库名也是juddi) <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>E_authTokenRequired (10120) An invalid authentication token was passed to an API call that requires authentication. authToken: juddi</faultstring> <detail> <dispositionReport generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"> <result errno="10120"> <errInfo errCode="E_authTokenRequired" xsi:type="xsd:string">E_authTokenRequired (10120) An invalid authentication token was passed to an API call that requires authentication. authToken: juddi</errInfo> </result> </dispositionReport> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> 很多例子都是这个错误,但是我找不出错误的理由,请高手告知,谢谢。 |
-- 作者:njtoto -- 发布时间:2/23/2006 2:44:00 PM -- E_authTokenRequired: (10120) signifies that an invalid authentication token was passed to an API call that requires authentication. 难道说我的这里的<authInfo>juddi</authInfo>中的juddi是没有经过认证的token?我不知道我该到哪里去找经过认证的token? |
-- 作者:dream8062 -- 发布时间:4/29/2006 10:23:00 AM -- 查看juddi的数据库表auth_token,auth_token的值即为这里的authInfo |
-- 作者:tp77 -- 发布时间:5/22/2006 12:11:00 PM -- 我也是使用juddi0.9rc4,但怎么也发布不成功,请问你现在问题解决了吗?能否告之怎么做?万分感谢 |
-- 作者:kimmyzhang -- 发布时间:5/22/2006 10:45:00 PM -- 楼主好,我现在也在弄juddi,但是出现很多问题,想向楼主请教一下,加我QQ好么?62441410,多谢了 |
-- 作者:kimmyzhang -- 发布时间:5/22/2006 10:46:00 PM -- 刚才写错了。。。 是63441410 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
58.594ms |