wsdl bahankuliah
DESCRIPTION
TRANSCRIPT
wsdl
Introduction• WSDL is an XML language that contains
information about the interface semantics and ‘administrivia’ of a call to a Web Service
• Once you develop a Web Service you publish its description and a link to it in a UDDI repository so that potential users can find it
• When someone wants to use your service, they request the WSDL file in order to find out the location of the service, the function calls and how to access them
• Then they use this information in your WSDL file to form a SOAP request to the computer
Definitions
• Definitions:- WSDL is an XML-based language used to
define Web Services and describe how to
access them.
- WSLD is an XML format for describing
network services as a set of endpoints
operating on messages containing either
document-oriented or procedure-oriented
information.
Working of WSDL
Figure 1. A client invoking a Web service.
Working of WSDL contd.
Figure 2. WSDL terminology used for describing Web services.
Working of WSDL (with Java) contd.
Where does it fit in?
What is UDDI? Universal Description Discovery and IntegrationUniversal Description Discovery and Integration
Industry-wide initiative supporting web servicesIndustry-wide initiative supporting web services
SpecificationsSpecifications Schemas for service descriptionSchemas for service description Schemas for business (service implementers) Schemas for business (service implementers)
descriptiondescription Developed on industry standards (XML, HTTP, Developed on industry standards (XML, HTTP,
TCP/IP, SOAP)TCP/IP, SOAP) Applies equally to XML and non-XML web servicesApplies equally to XML and non-XML web services
ImplementationImplementation Public web service registry and development Public web service registry and development
resourcesresources
Industry-Wide Project SupportIndustry-Wide Project Support
All major technology providersAll major technology providers Global corporationsGlobal corporations Strong resource and product commitmentStrong resource and product commitment Roadmap for transition to standards bodyRoadmap for transition to standards body
Unprecedented collaborationUnprecedented collaboration XML and Web Services recognized as core standardsXML and Web Services recognized as core standards Competition on services built on a common modelCompetition on services built on a common model Technology, platform, and development language Technology, platform, and development language
neutralneutral
What Problems Do We Solve?An organization needs to An organization needs to create 400 electronic create 400 electronic relationships with relationships with partners, each with its partners, each with its own standards and own standards and protocolsprotocols
BroaderBroaderB2BB2B
A small business wants to A small business wants to be “plugged in” to every be “plugged in” to every marketplace in the world, marketplace in the world, but doesn’t know howbut doesn’t know how
SmarterSmarterSearchSearch
A B2B marketplace cannot A B2B marketplace cannot get catalog data for get catalog data for relevant suppliers in its relevant suppliers in its industry, along with industry, along with connections to shippers, connections to shippers, insurers, etc.insurers, etc.
Easier Easier AggregationAggregation
Describe Describe ServicesServices
Discover Discover ServicesServices
IntegrateIntegrateThemThemTogetherTogether
Provide a standards-based Provide a standards-based profile for all electronic profile for all electronic services that are provided. services that are provided. Includes web sites, other Includes web sites, other electronic resourceselectronic resources
Web ServiceWeb ServiceVisibilityVisibility
Publish for Publish for AccessibilityAccessibility
Foundation for Web ServicesFoundation for Web Services
Ubiquitous Communications: InternetUbiquitous Communications: Internet
Universal Data Format:Universal Data Format: XMLXML
Service Interactions:Service Interactions: SOAPSOAP
Formal Service Descriptions:Formal Service Descriptions: WSDLWSDL
Broad Industry Support, Simple ProcessBroad Industry Support, Simple Process
Publish and Discover Services:Publish and Discover Services: UDDIUDDI
UDDI Registry EntriesUDDI Registry Entries Standards Bodies, Standards Bodies,
Agencies, Programmers, Agencies, Programmers, Publishers register Publishers register specifications for their specifications for their Service TypesService Types
Service providers register Service providers register precise information about precise information about themselves and their Web themselves and their Web servicesservices
• Business name
• General business description– Any number of languages
• Contact info– Names, phone numbers,
fax numbers, web sites, etc.
• Known identifiers– List of unique identifiers for a business
D-U-N-S, Thomas, domain name, stock ticker symbol, other
• Business categories– 3 base taxonomies in V1
• Industry: NAICS (Industry codes - US Govt.)• Product/Services: UNSPSC (ECCMA)• Location: Geographical taxonomy (ISO 3166)• …easy extension in upcoming releases
• New set of information businesses use to describe how to “do e-commerce” with them– Nested model
• Business process (functional)• Service specifications (technical)• Binding information (implementation)
– Programming/platform/implementation agnostic
– Services can also be categorized
How UDDI WorksHow UDDI Works
UDDI Registry
3. UDDI Registry assigns a programmatically unique identifier to each service and registration
Marketplaces, search Marketplaces, search engines, and business engines, and business applications query the registry applications query the registry to discover services at other to discover services at other companies and to facilitate companies and to facilitate integrationintegration
44..
Service Types
11..
ImplementationsImplementers Implementers populate the populate the registry withregistry withdescriptions of descriptions of their businesses their businesses and the services and the services they exposethey expose
22..
Large businesses apply Large businesses apply the same architecture the same architecture and technologies and technologies internallyinternally
55..
Software companies, standards Software companies, standards bodies, and developers populate bodies, and developers populate the registry with descriptions the registry with descriptions (specifications) of types of services(specifications) of types of services
Public Registry OperationPublic Registry Operation
IBM
HP (planned)
Microsoftother
other
• Peer registry nodes (websites)• Information registered
with any node• Registrations replicated
on a daily basis• Complete set of
“registered” recordsavailable at all nodes
• Common set ofSOAP APIs supportedby all nodes
• Compliance enforced by business contract
• All technologies applied
– Interoperability verified constantly
UDDI.org
queriesqueries
ApplicationsApplicationsApplicationsApplications
MarketplacesMarketplacesMarketplacesMarketplaces
End UsersEnd UsersEnd UsersEnd Users
DevelopersDevelopersDevelopersDevelopers
UDDI and SOAP
User UDDI
SOAP Request
UDDISOAP Response
UDDI RegistryNode
HTTPServer
SOAPProcessor
UDDIRegistry Service
B2B DirectoryCreate, View, Update, and Deleteregistrations Implementation-
neutral