F8 Flashcards
What is WSDL?
Web Service Description Language
An XML-based language for describing the interfaces of Web services
It is used to describe web services (SOAP web services) and how they should be invoked
What does the WSDL document contain?
Root
Abstract Interface:
- PortType: it specifies the operations and messages of the service.
– Operation: defines a function of the service.
– Message: defines data exchanged by the web service. The Input describes the parameters for the service and the Output describes the
return data from the service. Each message contains zero or more Partparameters, one for each parameter of the service operation. Each part
parameter associates with a concrete Type.
Implementation Interface:
- Binding: binds the operations and messages from the abstract part to a concrete transport protocol and message format (such as SOAP).
– Service and Port: together define the name of an actual service and its end-point (i.e. the network address). One port is associated with one address.
What is SOAP?
Simple-Object-Access-Protocol is a text-based application protocol for sending and receiving messages of Web services. Using XML
What is the structure of a SOAP-Message?
Envelop - element that identifies
the XML document as a SOAP
message.
Header - elements:
meta/control information about the message, including priority,
security, identification.
Body - the actual message
information, i.e. web-service
invocation structured by WSDL.
Lägga in slide 20?
Lägga in slide 20?
What is a RESTful Service?
Used to invoke a representation of a resource residing on a location, and transfer it to
the client
What is a resource?
A Resource can be data, processing logic, files, etc. It should be named as a noun. (e.g., a product, a customer, an order, etc.)
What is a URI?
URI is a sequence of characters that conforms to a syntax (scheme) used to uniquely refer to a resource on a location.
What is a URL?
Specifies the networked location of a resource
What is a URN?
Specifies the requested representation of the resource
What is the four RESTful service methods?
Get - retrieve resource(s)
Post - create a new resource(s)
Put - replace/update resource(s)
Delete - remove resource(s)