1

按照此处的说明查询如何查询 WSO2 Governance Registry 的 UDDI 注册表。但是,当我使用 wsdl 中的 web 服务“find_service”或“find_business”时,https://localhost:9443/services/UDDIInquiryService?wsdl我只会列出 UDDI 服务,例如

<soapenv:信封 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <serviceList xmlns="urn:uddi-org:api_v3" xmlns:ns2="http: //www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:policy_v3" xmlns:ns5="urn:uddi- org:repl_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:vscache_v3" xmlns:ns9="urn: uddi-org:policy_v3_instanceParms" xmlns:ns10="urn:uddi-org:vs_v3">

<listDescription> <includeCount>7</includeCount> <actualCount>7</actualCount> <listHead>1</listHead> </listDescription> <serviceInfos> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf " serviceKey="uddi:juddi.apache.org:services-custodytransfer"> <name xml:lang="en">UDDI 托管和所有权转移服务</name> </serviceInfo> <serviceInfo businessKey="uddi:juddi. apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-inquiry"> <name xml:lang="en">UDDI 查询服务</name> </serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-publish"> <name xml:lang="en">UDDI 发布服务</name> < /serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-security"> <name xml:lang="en">UDDI 安全服务< /name> </serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-subscriptionlistener"> <name xml:lang="en"> UDDI 订阅监听服务</name> </serviceInfo><serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-subscription"> <name xml:lang="en">UDDI 订阅服务</name> </serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services-publisher"> <name xml:lang="en">jUDDI 发布者服务</name> </serviceInfo> </serviceInfos> </serviceList> </soapenv:Body> </soapenv:Envelope><name xml:lang="en">UDDI 订阅服务</name> </serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services -publisher"> <name xml:lang="en">jUDDI Publisher Service</name> </serviceInfo> </serviceInfos> </serviceList> </soapenv:Body> </soapenv:Envelope><name xml:lang="en">UDDI 订阅服务</name> </serviceInfo> <serviceInfo businessKey="uddi:juddi.apache.org:businesses-asf" serviceKey="uddi:juddi.apache.org:services -publisher"> <name xml:lang="en">jUDDI Publisher Service</name> </serviceInfo> </serviceInfos> </serviceList> </soapenv:Body> </soapenv:Envelope>jUDDI Publisher 服务</name> </serviceInfo> </serviceInfos> </serviceList> </soapenv:Body> </soapenv:Envelope>jUDDI Publisher 服务</name> </serviceInfo> </serviceInfos> </serviceList> </soapenv:Body> </soapenv:Envelope>

我已向 greg 添加了其他服务,但无法通过 UDDI Web 服务找到它们。我在做什么错 - 我需要执行的其他步骤(例如提供身份验证凭据)未包含在文档中吗?

疯了吧!我已经按照文档进行操作并获得了一些结果(如上),所以看起来有些东西正在工作,只是没有收到我添加到注册表的任何服务细节。

有人可以在这里提供任何建议吗?我已经搜索并搜索了任何要尝试的片段,但没有。

更新:在家里也试过这个,在 Linux 机器上,体验完全相同的行为。因此,在 Windows(带 XP 的笔记本电脑)、Java6、GREG 4.5.3 和 Linux Ubuntu 13.04、Java7 (openJDK)、GREG 4.5.3 上进行了尝试

4

1 回答 1

0

添加服务时您没有添加 WSDL URL,这就是为什么您无法正常工作的原因

于 2013-11-24T19:40:33.303 回答