Shared Flashcard Set

Details

SOAP
Study for soap
30
Computer Science
Advanced
02/26/2018

Additional Computer Science Flashcards

 


 

Cards

Term
o WSDL
Definition
web service definition language
Term
definitions
Definition
− It is the root element of all WSDL documents. It defines the name of the web service, declares multiple namespaces used throughout the remainder of the document, and contains all the service elements described here.
Term
service
Definition
– a collection of related endpoints. It is a collection of related end-points encompassing the service definitions in the file; the services map the binding to the port and include any extensibility definitions.
Term
port
Definition
a single endpoitn defined as a combination of a binding and network address.
Term
binding
Definition
a concrete protocol and data format specification for a particular port type
Term
port type
Definition
it is an abstract set of operations mapped to one or more end-points defining the collection of operatoions for a binding
Term
operations
Definition
it is the abstract definition of hte operation for a message such as naming a metho, message queue or business process that will accept and process the message
Term
message
Definition
an abstract typed definition of the data being communicated. it is an abstract definition o the data in the form of a message presented either as an entire document or as arguments to be mapped to a method invocations
Term
data type
Definition
the data types to be used int eh emssage are in the form of xml schemas
Term
@Endpoint
Definition
clientside
registers the class with spring ws for pressing incoming soap messages
Term
@PayloadRoot
Definition
client-side
clientside
used by spring ws to pick the handler metho based on the message namepsace and localpart
Term
@reuqestpayload
Definition
clientside
indicates that the incoming message will be mapped to the method's request parameter
Term
@responspayload
Definition
clientside
makes spring ws map the returned value to the response payload
Term
@webservice
Definition
server-side
goes above class
Term
@webmethod
Definition
goes above mehtod
server-side
Term
dependencies for spring/mave soap service
Definition
spring boot web service
wsdl4j
plugin: jaxb2
Term
Web service protocol stack
Definition
transport
xml messaging
wsdl
uddi
Term
transport
Definition
the transport layer is the first component in the stack and is responsible for moving xml messages between applciations
Term
xml messaging
Definition
the mssaging layer in the protocal stack is baded on an xml model
Term
wsdl
Definition
web service definition language
this layer repsresents a way of specifying a public interfae for a web service. it also contains information on the avaliable functions, dta types, binding and location of specific web services
Term
uddi
Definition
universal description discovery and integration
sends wsdl to client
Term
service first
Definition
writes the classes first and then creates the wsdl
Term
contract first
Definition
writes the wsdl first
then gerate the business servicces
used in real world
can cange service implementation without changing wsdl
Term
how to consume soap webservices in java
Definition
setup a soap client using apache cxf
optional settings
consume the web service
Term
how to generate classes from wsdl in java
Definition
wsimport + wsdl location
Term
how to crate soap webservices in java
Definition
create interface
implement interface
use @webservice
Term
how to handle exceptions in soap
Definition
the exeptions should be thrown by web methods
java exceptions are mapped to a soap fault and returned to the client to communicate the reaosn for failure
Term
types of soap faults
Definition
modeleted and unmodeled
Term
Modeled exceptions
Definition
map to an exception that is thrown explicitly from the business logic and mapped to the wsdl:faul
Term
Unmodeled exceptions
Definition
maps to an exception that is generated at run time when no business logic is d
Supporting users have an ad free experience!