The document discusses WSDL, WADL, and UDDI, providing an overview of WSDL elements including definitions, types, messages, port types, bindings, ports, and services; it also covers WSDL transmission patterns and provides examples of WSDL code. The document then gives a basic introduction to WADL and its elements before concluding with an overview of UDDI basics and data types.
Overview of web services, SOAP, WSDL and UDDI.
A web service provides a defined set of functionality on a machine-processable interface.
The web service interface is described in a formal language like WSDL that allows creating code to access the service thus simplifying web service consumer (client) and provider (server) development.
In big web services, the interface is typically described in WSDL while the access to the service makes use of the SOAP message protocol.
SOAP has its roots in remote object access but is now a general message based and asynchronous transport mechanism.
SOAP is typically carried in HTTP (HyperText Transmission Protocol), but other message based protocols like SMTP (Email) or plain TCP could be used as well.
WSDL provides a formalized description of an interface that is coarsely separated in an abstract service interface definition containing operations and data types, a transport binding that describes how the web service is accessed and finally a description of the location (address) under which a web service is accessible.
UDDI (Universal Description and Discovery Protocol) was meant to become the standard protocol for some kind of a public yellow pages where publicly accessible web services would be listed. Lack of industry interest, however, prevented UDDI to gain widespread use.
Overview of web services, SOAP, WSDL and UDDI.
A web service provides a defined set of functionality on a machine-processable interface.
The web service interface is described in a formal language like WSDL that allows creating code to access the service thus simplifying web service consumer (client) and provider (server) development.
In big web services, the interface is typically described in WSDL while the access to the service makes use of the SOAP message protocol.
SOAP has its roots in remote object access but is now a general message based and asynchronous transport mechanism.
SOAP is typically carried in HTTP (HyperText Transmission Protocol), but other message based protocols like SMTP (Email) or plain TCP could be used as well.
WSDL provides a formalized description of an interface that is coarsely separated in an abstract service interface definition containing operations and data types, a transport binding that describes how the web service is accessed and finally a description of the location (address) under which a web service is accessible.
UDDI (Universal Description and Discovery Protocol) was meant to become the standard protocol for some kind of a public yellow pages where publicly accessible web services would be listed. Lack of industry interest, however, prevented UDDI to gain widespread use.
Validating user input for accuracy and completeness helps in improving overall data quality. Angular and its form package turns up with a Validators class that has some beneficial validators like minLength, maxLength, required and pattern. However, occasionally if we wish to validate different fields under more complex/custom rules we can make optimum use of custom validator.
Defining custom validators while using Reactive Forms in Angular comes very easy as they are more of regular functions. One can conveniently generate function for custom validators within the component file in case the validator is not supposed to be used elsewhere.
En los últimos años se ha hablado mucho de los estilos arquitectónicos en boga para desarrollar las soluciones orientadas a servicios. Sin embargo, cuando diseñamos servicios caemos siempre en los mismos esquemas y los repetimos de proyecto a proyecto sin ponernos en cuestión su validez para cada problema en cuestión.
En esta charla haremos un recorrido de los fundamentales modelos de diseño de APIs de servicios que pueden desarrollarse para cada tipo de problema. Además ofreceremos técnicas y patrones de diseño aplicables para cada uno de estos modelos.
Introduction to semantic web. Includes its goal, features, why we need, semantic web related framework, RDF's, Advantages, Uniform resource locator, web ontology language, micro-formats.
SOAP is a simple and flexible messaging framework for transferring information specified in the form of an XML infoset between an initial SOAP sender and ultimate SOAP receiver.
A hibernate tutorial for beginners. It describe the hibernate concepts in a lucid manner and and test project(User application with database) to get hands on over the same.
1. Introduction to Web Services
2. Web Service Architecture
3. What are Web Services?
4. Why are Web Services?
5. The base of WS
6. What is SOAP?
7. What is WSDL?
8. How to test a web service?
9. Examples
This study guide is intended to provide those pursuing the CCNA certification with a framework of what concepts need to be studied. This is not a comprehensive document containing all the secrets of the CCNA, nor is it a “braindump” of questions and answers.
I sincerely hope that this document provides some assistance and clarity in your studies.
REST & RESTful Web Service
REST stands for Representational State Transfer
REST web services communicate over the HTTP specification, using HTTP vocabulary
If a service does not include all constraints it is not a RESTful web service.
Validating user input for accuracy and completeness helps in improving overall data quality. Angular and its form package turns up with a Validators class that has some beneficial validators like minLength, maxLength, required and pattern. However, occasionally if we wish to validate different fields under more complex/custom rules we can make optimum use of custom validator.
Defining custom validators while using Reactive Forms in Angular comes very easy as they are more of regular functions. One can conveniently generate function for custom validators within the component file in case the validator is not supposed to be used elsewhere.
En los últimos años se ha hablado mucho de los estilos arquitectónicos en boga para desarrollar las soluciones orientadas a servicios. Sin embargo, cuando diseñamos servicios caemos siempre en los mismos esquemas y los repetimos de proyecto a proyecto sin ponernos en cuestión su validez para cada problema en cuestión.
En esta charla haremos un recorrido de los fundamentales modelos de diseño de APIs de servicios que pueden desarrollarse para cada tipo de problema. Además ofreceremos técnicas y patrones de diseño aplicables para cada uno de estos modelos.
Introduction to semantic web. Includes its goal, features, why we need, semantic web related framework, RDF's, Advantages, Uniform resource locator, web ontology language, micro-formats.
SOAP is a simple and flexible messaging framework for transferring information specified in the form of an XML infoset between an initial SOAP sender and ultimate SOAP receiver.
A hibernate tutorial for beginners. It describe the hibernate concepts in a lucid manner and and test project(User application with database) to get hands on over the same.
1. Introduction to Web Services
2. Web Service Architecture
3. What are Web Services?
4. Why are Web Services?
5. The base of WS
6. What is SOAP?
7. What is WSDL?
8. How to test a web service?
9. Examples
This study guide is intended to provide those pursuing the CCNA certification with a framework of what concepts need to be studied. This is not a comprehensive document containing all the secrets of the CCNA, nor is it a “braindump” of questions and answers.
I sincerely hope that this document provides some assistance and clarity in your studies.
REST & RESTful Web Service
REST stands for Representational State Transfer
REST web services communicate over the HTTP specification, using HTTP vocabulary
If a service does not include all constraints it is not a RESTful web service.
It's cover the SOAP's part about the SCDJWS certification.
Refers to:
1. SCDJWS 5.0 Study Guide by Mikalai Zaikin
2. SCDJWS 5 Study Notes by Ivan A Krizsan
Cette présentation donne une idée bien détaillée sur les web services. Elle présente aussi les types de web services(SOAP, REST), et enfin comment les développer dans le langage de programmation java.
Designing and building a really clean and intuitive ReST API is no small feat. You have to worry about resources, collections of resources, pagination, query parameters, references to other resources, which HTTP methods to use, HTTP caching, security, and more. And you have to make sure it lasts and doesn’t break clients as you add features over time. Furthermore, although there are many references on creating REST APIs with XML, there are far fewer references on REST + JSON. It is enough to drive you crazy. This session demonstrates how to design and implement an elegant REST API.
Sign up for Stormpath: https://api.stormpath.com/register
More from Stormpath: http://www.stormpath.com/blog
JAX-WS is the replacement and next generation to JAX-RPC and makes web services development much easier using annotations and much less configuration. JAX-WS is useful for people building webservices/SOA based infrastructure as JAX-WS makes the web service development much easier and is a big gain for developer productivity.
The session uses a web service for temperature conversion example to build both the client side and Server side artifacts. Also on the server side both Servlet based and EJB3.0 based web service development will be demonstrated. JAXB concepts will be used to demonstrate the examples.
The session uses Eclipse Ganymede and Jboss 5.0. However JAX-WS being the standard, the code will smoothly work on any JavaEE based compliant servers.
Here i am attaching the document for creating the web services
i hope this can be helpful for Freshers.
http://skillgun.com/csharp/interview-questions-and-answers
Cloud computing 21 concept of wsdl modelingVaibhav Khanna
WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
A Web service typically carries comprehensive business logic, can be searched through the Web, and has to be accessed through the Internet or Intranet environment. Above all, a Web service is published in a standard language and accessed through a standard protocol.
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Enhancing Performance with Globus and the Science DMZGlobus
ESnet has led the way in helping national facilities—and many other institutions in the research community—configure Science DMZs and troubleshoot network issues to maximize data transfer performance. In this talk we will present a summary of approaches and tips for getting the most out of your network infrastructure using Globus Connect Server.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
4. What is WSDL?
• XML language for describing web services
• Web service is described as
– A set of communication endpoints (ports)
• Endpoint is made of two parts
– Abstract definitions of operations and messages
– Concrete binding to networking protocol (and corresponding
endpoint address) and message encoding
• Why this separation?
– Enhance reusability (of the abstract part, for example)
4
5. WSDL Service Description
• WSDL is “the interface for Web Services” describing:
• What a service does - the operations (methods) the
service provides, and the data (arguments and returns)
needed to invoke them.
• How a service is accessed - details about data formats
and protocols necessary to access the service
operations.
• Where a service is located - details of the protocol-
specific network address, such as a URL.
5
6. Where is WSDL Used?
Web service Web service
W
requester provider
(4) Invoke web
e service
Servlets JAXR
b
Business partner
or other system
soap request
WSDL
Document
(3) Retrieve WSDL
definition
Soap request
(2) Search for web
service
(1) Register web
UDDI service
Soap request
UDDI
service Soap request
Registry
6
8. Why WSDL? (cont.)
• Enables automation of communication details
between communicating partners
– Machines can read WSDL
– Machines can invoke a service defined in WSDL
• Discoverable through registry
• Arbitration
– 3rd party can verify if communication conforms to
WSDL
8
9. WSDL Document Structure
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl"
targetNamespace="your namespace here"
xmlns:tns="your namespace here"
xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap">
<wsdl:types>
<xs:schema targetNamespace="your namespace here (could be another) "
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
<!-- Define types and possibly elements here -->
</schema>
</wsdl:types>
<wsdl:message name="some operation input">
<!-- part(s) here -->
</wsdl:message>
<wsdl:message name="some operation output">
<!-- part(s) here -->
</wsdl:message>
<wsdl:portType name="your type name">
<!-- define operations here in terms of their messages -->
</wsdl:portType>
<wsdl:binding name="your binding name" type="tns:port type name above">
<!-- define style and transport in general and use per operation -->
</wsdl:binding>
<wsdl:service>
<!-- define a port using the above binding and a URL -->
</wsdl:service>
</wsdl:definitions>
9
11. WSDL Structure
Abstract part
– Types
– Message
– Operation
– Port Type
Concrete part
– Binding
– Port
– Service 11
12. WSDL Structure - Abstract
port type - logical collection of
related operations
operation - abstract description
of an action supported by the
service
message - data exchanged in a
single logical transmission
types - data structures that will
be exchanged as parts of
messages
12
13. WSDL Structure - Concrete
interface bindings - message
encoding and protocol binding
for all operations and messages
defined in a given porttype
ports - combine the interface
binding information with a
network address specified by a
URI
services - are logical groupings
of ports
13
17. WSDL Elements : Definitions
name attribute - corresponds to the name of the
web service. It is only for documentation and is
optional
targetNamespace attribute - a URI for the entire
WSDL file
default namespace - all elements without a
namespace prefix, such as message or portType,
are assumed to be part of the default WSDL
namespace: http://schemas.xmlsoap.org/wsdl/
other XML namespace declarations 17
18. WSDL Elements : Type
Data type definitions
Used to describe exchanged messages
Uses W3C XML Schema as canonical type system
18
20. WSDL Elements : Message
A message describes the abstract form of an input,
output or a fault message.
A message describes the data being communicated.
Each message has a unique name within the WSDL
document and contains a collection of parts.
A message may have several parts.
A part may belong to several messages.
20
21. WSDL Elements : Part
Parts provide a flexible mechanism for describing
the logical content of messages.
A part element has two properties:
– name : represented by the name attribute,
which must be unique among all the part
elements of the message element
– kind : defined as either a type or an element
attribute:
• element - the payload of the message on the
wire is precisely the XML element
• type - any element conforming to the type 21
22. WSDL Elements : PortType
portType is a collection of one or more related operations
describing the interface of a web service.
portType definition is a collection of operation elements.
Generally, WSDL documents contain only one portType
element, because different web service interface
definitions are written with different documents.
portType has a single name attribute.
The name of portType together with the namespace of the
WSDL document define a unique name for the portType.
22
23. WSDL Elements : Operation
operation defines a method of a web service, including the
name of the method, input parameters, and the output or
return type of the method.
All operations in a portType must have different names.
Each operation may define:
– input message
– output message
– fault message
An operation in WSDL is the equivalent of a method
signature in Java.
23
25. WSDL Elements : Binding
The binding element specifies how to format messages in a
protocol specific manner:
– message encoding
– protocol binding
Each portType can have several binding elements
associated with it.
Each binding specifies how to invoke operations using
particular transport protocols. For instance: SOAP over
HTTP, SOAP over SMTP, etc.
25
26. WSDL Elements : Binding (cont.)
The binding element has two attributes:
– name : must be unique among all binding elements
defined in the WSDL document
– type : identifies which portType the binding
describes
26
27. WSDL Elements : Binding (cont.)
Defines protocol details and message format for
operations and messages defined by a particular
portType
Specify one protocol out of
SOAP (SOAP over HTTP, SOAP over SMTP)
HTTP GET/POST
Provides extensibility mechanism
Can includes binding extensibility elements
Binding extensibility elements are used to specify the
concrete grammar
27
28. RPC and Document-style
RPC Document-style
Procedure call Business documents
Method signature Schema
Marshaling Parsing & Validating
Tightly-coupled Loosely coupled
Point to point End to end
Synchronous Asynchronous
Typically within Typically over
Intranet internet
28
29. RPC and Document-style (cont.)
RPC Document-style
Within Enterprise Between enterprise
and enterprise
Simple, point-to- Complex, end to end
point with intermediaries
Short running Long running
business process business process
Reliable and high Unpredictable
bandwidth bandwidth
Trusted Blind trust
environment
29
30. Binding Protocol Encoding Rules
The binding also specifies the encoding rules used in
serializing parts of a message into XML:
– literal encoding: takes the WSDL types defined in
XML Schemaand “literally” uses those definitions to
represent the XML content of messages. Abstract
WSDL types becomes concrete types
– SOAP encoding : considers the XML Schema
definitions as abstract entities and translates them into
XML using SOAP encoding rules
Literal encoding is used for document style interactions.
SOAP encoding is used for RPC style interactions. 30
31. WSDL Elements : Port
Port specifies the network address of the end-point
hosting the web service.
port is a single end-point defined as a combination of a
binding and a network address.
There can be many ports for a binding, just like many
implementations for the same interface.
The soap:address element is used to give a port an
address.
31
32. WSDL Elements : Service
A service is a collection of ports.
Although a WSDL document can contain a collection
of service elements, by convention a WSDL document
contains a single service.
Usage: group the ports that are related to the same
service interface (portType) but expressed by different
protocols (binding).
32
35. Transmission Patterns in WSDL
One-way
The endpoint receives a message
Request/response
The endpoint receives a message, and sends a correlated
message
Notification
The endpoint sends a message
Solicit/response
The endpoint sends a message, and receives a correlated
message
35
42. WADL
Web Application Description Language
An XML-based file format
A machine-readable description of HTTP-
based REST web Services
Development language+platform neutral
42
43. WADL Elements
• Grammars
− Currently specify use of W3C XML Schema or RelaxNG
• Resources
– Identified by a URI template
– Specify which methods are supported
• Method
– Specify details of request and response contents
– Often refer to representations
• Representation
– Describe the format of a HTTP entity
– Can refer to grammars
43
44. WADL Document Structure
<application>
<doc/>*
<grammars/>?
<resources base='anyURI'>?
<doc/>*
<resource path='template' type='anyURI+'?>+
<doc/>*
<param/>*
( <method/> | <resource/> )+
</resource>
</resources>
( <method/> | <representation/> | <fault/> |
<resource_type/>)*
</application>
* => 0 or more
? => 0 or 1
+ => 1 or more
44
46. Yahoo News Search
• http://api.search.yahoo.com/NewsSearchService/
V1/newsSearch
• Query parameters
– appid: get this from Yahoo by registering
– query: space separated list of keywords
– many others including language, sort, result count
etc.
• Get back results as XML, JSON or PHP
– XML schema available for normal and error
responses
46
60. Service Architecture
Service
Provider
Publish Bind
Service Service
Registry Consumer
Discover
UDDI defines a scheme to publish and discover
information about Web services. 60
62. UDDI Runs “Over” SOAP
UDDI Registry
User Node
UDDI
SOAP Request HTTP SOAP
Server Processor
UDDI
SOAP Response UDDI
Registry Service
Create, View, B2B Directory
Update, and Delete
registrations Platform-neutral
62
63. What is UDDI?
Programmatic registration and discovery of
business entities and their Web services
Public UDDI registries
IBM, Microsoft, and SAP have shut down their public
UDDI registries on January 12, 2006 after first
announcement in 2000.
Private UDDI registries within an intranet
(where we are today)
63
64. Business Registration Data
“White pages”
– address, contact, and known identifiers
“Yellow pages”
– industrial categorizations
Industry: NAICS (Industry codes - US Govt.)
Product/Services: UN/SPSC (ECMA)
Location: Geographical taxonomy
• “Green pages”
– technical information about services 64
65. Registry Data
Created by standard
organizations, industry
Created by businesses consortium
Service Type
Business Definitions
Registrations (Meta information on
WSDL documents)
businessEntity's
tModel's
businessService's
bindingTemplate's
65
66. UDDI Data Types
Business Entity BusinessEntity
White Pages information
Business Services BusinessService
Yellow Pages information
Binding Templates BindingTemplate
Green Pages information
Contains references to BindingTemplate
tModels
tModels Tmodel
Service Type Definitions
Contains references to
WSDL documents Tmodel
66
67. tModel Example
<tModel authorizedName="..." operator="..." tModelKey="...">
<name>StockQuote Service</name>
<description xml:lang="en">
WSDL description of a standard stock quote service interface
</description>
<overviewDoc>
<description xml:lang="en"> WSDL source document. </description>
<overviewURL> http://stockquote-definitions/stq.wsdl </overviewURL>
</overviewDoc>
<categoryBag>
<keyedReference tModelKey="UUID:..."
keyName="uddi-org:types"
keyValue="wsdlSpec"/>
</categoryBag>
</tModel>
67
68. Resources
Some contents are borrowed from the presentation
slides of Sang Shin, Java™ Technology Evangelist,
Sun Microsystems, Inc.
Some contents are borrowed from the presentation
slides of Marc Hadley and Ayub Khan
Web Services and Java, Elsa Estevez, Tomasz
Janowski and Gabriel Oteniya, UNU-IIST, Macau
68
69. Thank you
thananum@gmail.com
www.facebook.com/imcinstitute
www.imcinstitute.com
69