Service registry问题 — oracle-tech

    Forum Stats

  • 3,715,999 Users
  • 2,242,927 Discussions
  • 7,845,731 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Service registry问题

698037
698037 Member Posts: 1
edited April 2009 in 中间件
装好OSR后,利用他的API自己写java代码查找服务

%REGISTRY_HOME%\demos\basic\inquiry\src\demo\uddi\v3\inquiry\FindTModel.java
主要还是用到这里面的方法
但是我的却报错:
Searching for tModel where
Enter name [demo%]:
Enter findQualifier [approximateMatch]:
findQualifier = approximateMatch
name = demo%
Check structure validity .. OK
Using Inquiry at url http://localhost:7001/registry/uddi/inquiry ..ERROR: com.systinet.wasp.admin.PackageRepositoryImpl - Can't load DD [][http://systinet.com/uddi/client-core/5.0][Client-core]
EXCEPTION: http://systinet.com/uddi/client-core/5.0:Client-core -> I couldn't find deployment descriptor (QName="{http://systinet.com/wasp/app/builtin_serialization}builtin_serialization")of dependant package.
org.systinet.wasp.dd.DeploymentException: http://systinet.com/uddi/client-core/5.0:Client-core -> I couldn't find deployment descriptor (QName="{http://systinet.com/wasp/app/builtin_serialization}builtin_serialization")of dependant package.
at com.systinet.wasp.dd.BuilderImpl.resolveDepsAndFinalizeDescriptor(BuilderImpl.java:564)
at com.systinet.wasp.dd.BuilderImpl.read(BuilderImpl.java:355)
at com.systinet.wasp.admin.PackageRepositoryImpl.loadClientPackage(PackageRepositoryImpl.java:1210)
at com.systinet.wasp.admin.PackageRepositoryImpl.loadClientPackages(PackageRepositoryImpl.java:1068)
at com.systinet.wasp.admin.PackageRepositoryImpl.init(PackageRepositoryImpl.java:234)
at com.idoox.wasp.ModuleRepository.loadModules(ModuleRepository.java:198)
at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:383)
at org.systinet.wasp.Wasp.init(Wasp.java:151)
at org.systinet.wasp.Wasp.init(Wasp.java:62)
at org.idoox.wasp.Context.initialize(Context.java:314)
at org.idoox.wasp.Context.getInstance(Context.java:223)
at com.systinet.jaxm.messaging.ProviderConnectionImpl.<init>(ProviderConnectionImpl.java:31)
at org.systinet.uddi.client.UDDIClientProxy.<init>(UDDIClientProxy.java:68)
at org.systinet.uddi.client.v3.UDDIInquiryStub.<init>(UDDIInquiryStub.java:75)
at org.systinet.uddi.client.v3.UDDIInquiryStub.getInstance(UDDIInquiryStub.java:42)
at com.FindTModel.getInquiryStub(FindTModel.java:87)
at com.FindTModel.findTModel(FindTModel.java:71)
at com.FindTModel.runDemo(FindTModel.java:135)
at com.FindTModel.main(FindTModel.java:142)

有没有高手帮小弟解决下。
问题出在
java代码:

System.setProperty("wasp.location","C:\\oracle\\registry_10_3");
String url = "http://localhost:7001/registry/uddi/inquiry";
UDDI_Inquiry_PortType inquiry = UDDIInquiryStub.getInstance(url);

帖子经 user10961721编辑过
This discussion has been closed.