



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




sources: Java Web Service Architecture, James McGoven and etc., Morgan Kaufmann, Ch 6, 2006-11-15 © Dr. Ye Wu 2
2006-11-15 © Dr. Ye Wu 3
Discover Service Publish Service
Invoke Service
2006-11-15 © Dr. Ye Wu 4
UDDI registries contains information about businesses and the services these businesses offer.
2006-11-15 © Dr. Ye Wu 5
IBM, Microsoft, SAP, HP, … …
Microsoft, IBM, and SAP are discontinuing the UDDI Business Registry (UBR) project for Web services on January 12, 2006
"Since the fall of 2000, the UBR has been a significant asset for testing during the development of the three versions of the UDDI specifications and the vendor software based on it," IBM said in a statement.
While the shutdown indicates that the original intent of UDDI was unsuccessful, the specification itself has changed in purpose, said Jason Bloomberg, senior analyst at ZapThink.
http://www.infoworld.com/article/05/12/16/HNuddishut_1.html 2006-11-15 © Dr. Ye Wu 6
2006-11-15 © Dr. Ye Wu 7
businesses’ name, addresses, phone numbers, and so on.
the types of these businesses.
offers, including all of the technical information involved in interacting with or using the service.
2006-11-15 © Dr. Ye Wu 8
2006-11-15 © Dr. Ye Wu 9
registry
2006-11-15 © Dr. Ye Wu 10
2006-11-15 © Dr. Ye Wu 11
efficiency and effectiveness of UDDI search.
2006-11-15 © Dr. Ye Wu 12
2006-11-15 © Dr. Ye Wu 19
TModel tm = new TModel(); tm.setName("Addressbook tModel"); tm.setTModelKey(""); OverviewDoc od = new OverviewDoc(); od.setOverviewURL("http://localhost:8080/.../...?WSDL"); tm.setOverviewDoc(od); … .. tm.setCategoryBag(cb); Vector entities = new Vector(); entities.addElement(tm); TModelDetail r = proxy.save_tModel(authInfo, entities);
2006-11-15 © Dr. Ye Wu 21
BusinessService bs = new BusinessService(); bs.setDefaultNameString("Addressbook Service", "en"); bs.setBusinessKey(businessKey); bs.setServiceKey(""); Vector btv = new Vector(); BindingTemplates bts = new BindingTemplates(); bts.setBindingTemplateVector(btv); bs.setBindingTemplates(bts); … … cb.setKeyedReferenceVector(krv); bs.setCategoryBag(cb); 2006-11-15 © Dr. Ye Wu 22
2006-11-15 © Dr. Ye Wu 23
2006-11-15 © Dr. Ye Wu 24
2006-11-15 © Dr. Ye Wu 25
2006-11-15 © Dr. Ye Wu 26
Vector names = new Vector(); names.addElement(new Name("Bill's Office Services")); BusinessList list = proxy.find_business(names, null, null, null, null, null, 0); BusinessInfos infos = list.getBusinessInfos(); BusinessInfo info = (BusinessInfo) infos.getBusinessInfoVector().elementAt(0); String businessKey = info.getBusinessKey(); businessEntity = (BusinessEntity) proxy.get_businessDetail(businessKey) .getBusinessEntityVector().elementAt(0);
2006-11-15 © Dr. Ye Wu 27
2006-11-15 © Dr. Ye Wu 28
2006-11-15 © Dr. Ye Wu 29