cours:service_oriented_computing_and_web_services_2018_2019
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
cours:service_oriented_computing_and_web_services_2018_2019 [2019/04/23 22:27] – [Session 3 : Windows Communication Fundation (WCF) and ABC model] tigli | cours:service_oriented_computing_and_web_services_2018_2019 [2019/04/24 10:55] – [Session 3 : Windows Communication Fundation (WCF) and ABC model] tigli | ||
---|---|---|---|
Ligne 152: | Ligne 152: | ||
* [[cours: | * [[cours: | ||
- | == Lab 2 : " | + | == Lab 2 : " |
- | * [[cours: | + | * [[cours: |
- | == Lab 3 : " | + | == Lab 3 : " |
* [[cours: | * [[cours: | ||
- | ===== Session 5 : Contracts for Web Services | ||
- | ---- | + | |
/* {{ : | /* {{ : | ||
- | === Lecture 1 : WSDL for WS-SOAP === | ||
- | ||| | + | === Advanced Lecture on ABC and WCF === |
+ | == Types of Asynchronous Operations in WCF services == | ||
- | * {{:cours:3._contrats_et_description_de_web_services_-_wsdl-2016-2017.pdf| WSDL, Web Service Description Language for WS-SOAP}} | + | All service contracts in WCF, no matter the parameters types and return values, use WCF attributes to specify a particular message exchange pattern between client and service. WCF automatically routes inbound and outbound messages to the appropriate service operation or running client code. |
+ | The client possesses only the service contract, which specifies the message exchange pattern for a particular operation. Clients can offer the developer any programming model they choose, so long as the underlying message exchange pattern is observed. So, too, can services implement operations in any manner, so long as the specified message pattern is observed. | ||
- | /* * {{:cours: | + | The independence of the service contract from either the service or client implementation enables the following forms of asynchronous execution in WCF applications: |
- | */ | + | |
- | === Lecture | + | * Clients can invoke request/ |
+ | |||
+ | * Services can implement a request/ | ||
+ | |||
+ | * Message exchanges can be one-way, regardless of the implementation of the client or service. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | == System.ServiceModel Namespace == | ||
+ | App.config is an XML file to set a list of parameters required to instanciate some classes of the System.ServiceModel Namespace. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | == netTcpBinding == | ||
+ | |||
+ | ABC Model is not only dedicated to Web Service but can use non over http binding like direct TCP/IP protocol. One of the standard Binding for that is netTcpBinding. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Here you can see that the App.config file is only an other way to defined different parameters | ||
+ | |||
+ | == WCF Hosting == | ||
+ | |||
+ | WCF service cannot exist on its own; it has to be hosted in windows process called as host process. Single host process can host multiple servers and same service type can be hosted in multiple host process. There are mainly four different way of hosting the WCF service. | ||
+ | |||
+ | * IIS hosting | ||
+ | * Self hosting | ||
+ | * Windows Activation Service | ||
+ | * Windows Service | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | == ABC Model Extensibility == | ||
+ | |||
+ | Lot of parameters are generaly predefined and precomputed on WCF projects. Anyway everything can be tuned to a new required configuration. | ||
+ | |||
+ | Here find most of the possible extensions : [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== Session 4 : MEX and Web Services and WSDL ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ||| | ||
+ | |||
+ | |||
+ | === Lecture | ||
||| | ||| | ||
Windows Communication Foundation (WCF) provides a rich infrastructure for exporting, publishing, retrieving, and importing service metadata. WCF services use metadata to describe how to interact with the service' | Windows Communication Foundation (WCF) provides a rich infrastructure for exporting, publishing, retrieving, and importing service metadata. WCF services use metadata to describe how to interact with the service' | ||
+ | === Lecture 2 : WSDL and Web Services === | ||
+ | ||| | ||
+ | {{: | ||
- | ---- | + | /* * {{: |
+ | */ | ||
+ | |||
+ | === TIPS === | ||
+ | |||
+ | [[https:// | ||
===== Advanced Session 1 : Event Based Communication and Architecture with web services | ===== Advanced Session 1 : Event Based Communication and Architecture with web services | ||
cours/service_oriented_computing_and_web_services_2018_2019.txt · Dernière modification : 2019/05/12 14:58 de tigli