This link has been bookmarked by 36 people . It was first bookmarked on 06 Jun 2008, by someone privately.
-
26 Jun 11
-
06 Apr 11
-
</element>
-
WS* standards,
-
WS-Security.
-
WS-Addressing
-
resource-based Web services
-
HTTP and XML.
-
REST is an architectural style that treats the Web as a resource-centric application. Practically, this means each URL in a RESTful application represents a resource.
-
A WSDL description contains all the details of a Web service, including:
-
The service's URL.
-
The communication mechanisms it understands.
-
What operations it can perform.
-
The structure of its messages.
-
XML language to
-
address
-
interface
-
communication mechanisms
-
message type
-
Generate client and service stubs in various languages
-
Publish a Web service.
-
Dynamically test a Web service.
-
Describe a REST Web service with WSDL 2.0
-
WSDL 2.0 description
-
ISBN_NUMBER
-
WSDL 2.0 description
-
book details
-
book list
-
core namespace http://www.w3.org/ns/wsdl
-
four child elements
-
description -
skeleton
-
XML schema
-
types -
messages
-
interface -
binding -
a binding specifies that clients can communicate using HTTP.
-
REST Web services
-
service -
s two other namespaces
-
http://www.w3.org/ns/wsdl/http,
-
http://www.w3.org/ns/wsdl
-
three attributes
-
http://www.bookstore.com/books/
-
endpoint -
service
-
endpoint -
endpoint -
Listing 4.
-
target namespace,
-
http://www.bookstore.org/booklist/wsdl.
-
description
-
endpoint
-
/wsdl:description>
-
There are four HTTP communication verbs:
-
HTTP GET.
-
method -
http://www.w3.org/ns/wsdl/http
-
Listing 5
-
endpoint -
tns:BookListHTTPBinding -
xmlns:tns="http://www.bookstore.org/booklist/wsdl
-
xmlns:whttp="http://www.w3.org/ns/wsdl/http
-
BookListHTTPBinding
-
http://www.w3.org/ns/wsdl/http
-
bindin
-
binding>
-
endpoint
-
binding
-
BookListHTTPBinding
-
Define the book list service operation
-
book list service
-
interfacee -
operation -
operationel -
etBookList
-
single operatio
-
operation -
e
operatione -
three a
-
pattern
-
http://www.w3.org/ns/wsdl/i
-
style
-
http://www.w3.org/ns/wsdl/style/iri,
-
input -
idempotent
-
wsdlx
-
xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions">
-
interface
-
pattern="http://www.w3.org/ns/wsdl/in-out"
-
style="http://www.w3.org/ns/wsdl/style/iri"
-
wsdlx:safe="true">
-
:interface>
-
interface
-
Define the book list service operation messages
-
s two messages
-
d an output m
-
input
-
XML schema is the
-
type system
-
o use XML schema f
-
XML schema
-
two messages
-
eb service, you need to create two global elements:
-
input m
-
getBookLis
-
output
-
bookList
-
s two attribute
-
the
url -
wsdlx:interface
-
wsdlx:bindingid -
schema -
in Listing 7
-
<schem
-
<element
-
<element
-
</element>
-
<element
-
</element>
-
</element
-
getBookListType
-
<complexType
-
/complexType>
-
bookListType
-
complexTyp
-
/complexType
-
"bookType">
-
<complexTyp
-
</complexType>
-
</schema>
-
input a
-
output ele
-
e schema into your WSDL
-
a
import -
import
-
-
30 Nov 10
-
08 Sep 10
-
04 Aug 10
-
21 Apr 10
-
message exchange pattern
-
-
28 Mar 10
-
05 Mar 10
-
27 Feb 10
-
14 Jan 10
-
03 Jan 10
-
04 Nov 09
-
23 Aug 09
-
20 Jul 09
-
22 Apr 09
-
20 Feb 09
-
27 Jan 09
-
01 Dec 08
-
08 Sep 08
-
18 Aug 08
-
30 Jun 08
-
06 Jun 08
-
03 Jun 08
-
02 Jun 08
-
gavino angLawrence Mandel, a software developer at the IBM Toronto Lab, is currently working on a reporting solution for IBM Rational. He leads the Apache Woden project, which is developing a WSDL 2.0 validating parser and related tools. Lawrence is coauthor of the
-
01 Jun 08
Brent Sordylthis article takes you through the steps needed to create a WSDL 2.0 description for a REST Web service using the following simple example scenario.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.