Personal Assignment 2 Question : 1. What is definition and description about : UDDI and UDDI Elements UDDI is one of the standards for service orientation that focus in registries, where mostly describes business entities and categories. UDDI enables business and other organizations to describe and publish their service offerings or their company information in UDDI registries and discover another business and services through the registries. UDDI registry provide web-based and programmatic API to access, search and modify the registry entries. The disadvantage of UDDI is so open, the UDDI operators do not monitor the entries of their UDDI registries. It will shows company information that no longer exist. UDDI Elements consist of : 1. Business Entity, represent the organization that is publishing its services. It includes business description, contact information, description of the organization’s services, categories and identification of the business. Business entity has a few elements: name, discovery URL (URL address of the business) , identifier keys and business categorization. 2. Business Service, was included in business entity. Business services will help business entity to organize its services by contain a number of binding templates in each services that will provide the details of the web services. Business service consists of a few features: name, description, binding template, categorization of the service. 3. Publisher Assertion, is a business relationship. Publisher Assertion will identify relationships between a corporation and its internal units, define private exchanges with suppliers and customers,and show membership in an industry consortium. Publisher Assertion contain two main elements: entity’s businessKey (UUID) and keyReference ID that provided by the UDDI Registry. 4. Binding Template, contains references to technical model. A binding template will provide information on the invocation method and location for the service. The re are attributes and elements of binding template: description element, choice ( accessPoint or hostingRedirector ) , tModelInstanceDetails element (tModelKey and instanceDetails) and overviewDoc. 5. Model, consists of detail information about the services offered by the business. WSDL and WSDL Elements WSDL allows service producers and consumers to communicate clearly and specifically the details of the service description. WSDL provides a self-describing, precise description of the location, binding and operations of the web services. WSDL elements: 1. Types, defines the input and output parameter type of operations that will be used in message. 2. Message, specify the input and output parameter of operations. 3. PortType, a collection of operations. 4. Operation, web services method that use message for their input and output parameters. 5. Binding, specify how the operations of portTypes will be invoked. 6. Port, a specific invocation endpoint that contain address of the service. 7. Service, a collection of endpoints. SOAP SOAP is service interchange . supports distributed computing by providing an effective mechanism for exchanging messages and accessing remote objects via XML. SOAP consists of four XML elements: 2. 1. Envelope, root of all SOAP requests and responses. This one in mandatory element. 2. Header, contains additional information that can be understood by the requestor and service provider. This one is optional element. 3. Body, contains the main message. This one is mandatory element. 4. Fault, this one is optional element which contains protocol-level errors. It exist just if the is an error or fault in the SOAP request. Jelaskan dengan lengkap pengertian dari gambar 1 dibawah ini : Gambar 1. Komponen SOA (sumber : carnegie mellon university) This picture shows that SOA consists of 4 components: the applications (x,y,z) as service consumers, the SOA infrastructure, the services (A,B,C,D) as the service interfaces, and the enterprise information system, legacy or new service code and the external system as service implementation. This picture shows the benefit of SOA for organization in scalability, multiple instances of the service can be running on different servers and multiple applications with different platform can use the services. SOA infrastructure will provides a standard communication mechanism between consumers and services. New changes in services potentially will no impact on existing service consumer and consumers can access the service in a standard way.