Le cadre des Web Services Partie 7 : Introduction à SOAP



Documents pareils
Le cadre des Web Services Partie 1 : Introduction

COMPRENDRE L ARCHITECTURE DES WEB SERVICES REST. Amosse EDOUARD, Doctorant

Manuel d intégration API SOAP SMS ALLMYSMS.COM

Architectures Web Services RESTful

Intégration d'applications à "gros grain" Unité d'intégration : le "service" (interface + contrat)

Paris Airports - Web API Airports Path finding

4. SERVICES WEB REST 46

Les services Web. Jeremy Fierstone fierston@essi.fr. SAR5 Novembre 2002

Practice Direction. Class Proceedings

How to Login to Career Page

VTP. LAN Switching and Wireless Chapitre 4

Instructions pour mettre à jour un HFFv2 v1.x.yy v2.0.00

Application Form/ Formulaire de demande

Supervision et infrastructure - Accès aux applications JAVA. Document FAQ. Page: 1 / 9 Dernière mise à jour: 15/04/12 16:14

Dans une agence de location immobilière...

L3 informatique TP n o 2 : Les applications réseau

Plan. Department of Informatics

Microsoft Technopoche

«Rénovation des curricula de l enseignement supérieur - Kazakhstan»

Instructions Mozilla Thunderbird Page 1

Dis où ces gens vont d après les images / Tell where these people are going based on the pictures.

Méthodes et Langages du Commerce Electronique

Programmation Web Avancée Introduction aux services Web

Mon Service Public - Case study and Mapping to SAML/Liberty specifications. Gaël Gourmelen - France Telecom 23/04/2007

Introduction aux «Services Web»


API Web Service TéléAlerte

Forthcoming Database

Exercices sur SQL server 2000

Acronymes et abréviations. Acronymes / Abbréviations. Signification

DOCUMENTATION MODULE BLOCKCATEGORIESCUSTOM Module crée par Prestacrea - Version : 2.0

SERVEUR DÉDIÉ DOCUMENTATION

Définition des Webservices Standards Systempay Version 2.7c

Oauth : un protocole d'autorisation qui authentifie?

Lesson Plan Physical Descriptions. belle vieille grande petite grosse laide mignonne jolie. beau vieux grand petit gros laid mignon

LE FORMAT DES RAPPORTS DU PERSONNEL DES COMMISSIONS DE DISTRICT D AMENAGEMENT FORMAT OF DISTRICT PLANNING COMMISSION STAFF REPORTS

Cedric Dumoulin (C) The Java EE 7 Tutorial

Cours Master Recherche RI 7 Extraction et Intégration d'information du Web «Services Web»

Réunion du 1er Avril VoIP : théorie et réalité opérationnelle. info@ipercom.com

BPEL Orchestration de Web Services

Le passé composé. C'est le passé! Tout ça c'est du passé! That's the past! All that's in the past!

Paxton. ins Net2 desktop reader USB

Contents Windows

lundi 3 août 2009 Choose your language What is Document Connection for Mac? Communautés Numériques L informatique à la portée du Grand Public

Notice Technique / Technical Manual

TABLE DES MATIERES A OBJET PROCEDURE DE CONNEXION

Cours de didactique du français langue étrangère (*) French as a foreign language (*)

Outils d'analyse de la sécurité des réseaux. HADJALI Anis VESA Vlad

On Feature Interaction among Web Services Michael Weiss et Babak Esfandiari

Natixis Asset Management Response to the European Commission Green Paper on shadow banking

21 mars Simulations et Méthodes de Monte Carlo. DADI Charles-Abner. Objectifs et intérêt de ce T.E.R. Générer l'aléatoire.

Compléter le formulaire «Demande de participation» et l envoyer aux bureaux de SGC* à l adresse suivante :

Once the installation is complete, you can delete the temporary Zip files..

calls.paris-neuroscience.fr Tutoriel pour Candidatures en ligne *** Online Applications Tutorial

Volet Synchrone pour Client Lourd

If the corporation is or intends to become a registered charity as defined in the Income Tax Act, a copy of these documents must be sent to:

MELTING POTES, LA SECTION INTERNATIONALE DU BELLASSO (Association étudiante de lʼensaparis-belleville) PRESENTE :

English Q&A #1 Braille Services Requirement PPTC Q1. Would you like our proposal to be shipped or do you prefer an electronic submission?

setting the scene: 11dec 14 perspectives on global data and computing e-infrastructure challenges mark asch MENESR/DGRI/SSRI - France

Autour du web. Une introduction technique Première partie : HTML. Georges-André SILBER Centre de recherche en informatique MINES ParisTech

WiFi Security Camera Quick Start Guide. Guide de départ rapide Caméra de surveillance Wi-Fi (P5)

Gestion des prestations Volontaire

Quick Start Guide This guide is intended to get you started with Rational ClearCase or Rational ClearCase MultiSite.

Tex: The book of which I'm the author is an historical novel.

Improving the breakdown of the Central Credit Register data by category of enterprises

DOSSIER DE CANDIDATURE PEDAGOGIQUE En seconde Année du MASTER «Sciences de l Ingénieur» (SDI) Année universitaire

Institut français des sciences et technologies des transports, de l aménagement

Quel serveur pour vous?

Étude de faisabilité d'une application SOAP avec un système embarqué

Contrôle d accès Access control MOD-TCPIP-AI. Notice technique / Technical Manual

BNP Paribas Personal Finance

Sécurité des Web Services (SOAP vs REST)

Contrôle d'accès Access control. Notice technique / Technical Manual

Bill 69 Projet de loi 69

Folio Case User s Guide

PIB : Définition : mesure de l activité économique réalisée à l échelle d une nation sur une période donnée.

Plateforme PAYZEN. Définition de Web-services

Présentation par François Keller Fondateur et président de l Institut suisse de brainworking et M. Enga Luye, CEO Belair Biotech

L intégration d applications unifiée par les Services Web et XML Réconcilier J2EE.NET EIS et mainframes

ADMINISTRATION DE ADOBE LIVECYCLE MOSAIC 9.5

AMENDMENT TO BILL 32 AMENDEMENT AU PROJET DE LOI 32

Protocoles Applicatifs

SOAP Concepts Application à Glassfish

Règles et paramètres d'exploitation de Caparmor 2 au 11/12/2009. Pôle de Calcul Intensif pour la mer, 11 Decembre 2009

Prérequis réseau constructeurs

Archived Content. Contenu archivé

I>~I.J 4j1.bJ1UlJ ~..;W:i 1U

AIDE FINANCIÈRE POUR ATHLÈTES FINANCIAL ASSISTANCE FOR ATHLETES

Shibboleth. David Verdin - JOSY "Authentification centralisée pour les applications web" - Paris - 4 février mai

UML : Unified Modeling Language

Le serveur HTTPd WASD. Jean-François Piéronne

France SMS+ MT Premium Description

Workshop e-business ISMIN 3A P2015

1.The pronouns me, te, nous, and vous are object pronouns.

Un système KYC robuste et sa valeur ajoutée commerciale

Comprehensive study on Internet related issues / Étude détaillée sur les questions relatives à l Internet. November/Novembre 2014

et Active Directory Ajout, modification et suppression de comptes, extraction d adresses pour les listes de diffusion

3615 SELFIE. HOW-TO / GUIDE D'UTILISATION

Transcription:

Sécurité en ingénierie du Logiciel Le cadre des Web Services Partie 7 : Introduction à SOAP Alexandre Dulaunoy adulau@foo.be Sécurité en ingénierie du Logiciel p.1/16

Agenda Introduction SOAP format (par l exemple) SOAP format des erreurs SOAP format et transport HTTP Sécurité en ingénierie du Logiciel p.2/16

Introduction SOAP is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses. SOAP can potentially be used in combination with a variety of other protocols; however, the only bindings defined in this document describe how to use SOAP in combination with HTTP and HTTP Extension Framework. Simple Object Access Protocol (SOAP) 1.1 - Document W3C Sécurité en ingénierie du Logiciel p.3/16

SOAP format (par l exemple) public interface Hello { public String sayhelloto(string name); } La méthode sayhelloto pourrait être *, Pour interfacer sayhelloto (client/serveur), Pas limité à Java (uniquement pour l exemple), Sécurité en ingénierie du Logiciel p.4/16

SOAP format (par l exemple) <?xml version="1.0"?> <Hello> <sayhelloto> <name>john</name> </sayhelloto> </Hello> Requête vers l interface Hello définie, Définition de la méthode, Paramètres de la méthode, Sécurité en ingénierie du Logiciel p.5/16

SOAP format (par l exemple) <?xml version="1.0"?> <Hello> <sayhellotoresponse> <message>hello John, How are you?</message> </sayhellotoresponse> </Hello> Réponse à la requête (vers l interface Hello), Methode + "Response", Un "message" de retour. Sécurité en ingénierie du Logiciel p.6/16

SOAP format (requête) <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" http://www.w3.org/1999/xmlschema-instance" xmlns:xsd="http://www.w3.org/1999/xmlschema"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:sayhelloto xmlns:ns1="hello" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"> <name xsi:type="xsd:string">john</name> </ns1:sayhelloto> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.7/16

SOAP format (retour) <SOAP-ENV:Envelope xmlns:soap- ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/xmlschema-instance" xmlns:xsd="http://www.w3.org/1999/xmlschema"> <SOAP-ENV:Body> <ns1:sayhellotoresponse xmlns:ns1="hello" SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding <return xsi:type="xsd:string">hello John, How are you doing?</return> </ns1:sayhellotoresponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.8/16

SOAP format (header) <SOAP-ENV:Header> <t:transaction xmlns:t="some-uri" SOAP-ENV:mustUnderstand="1"> 5 </t:transaction> </SOAP-ENV:Header> Sécurité en ingénierie du Logiciel p.9/16

SOAP format (erreur) <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>soap-env:server</faultcode> <faultstring>server Error</faultstring> <detail> <e:myfaultdetails xmlns:e="hello"> <message> Sorry, my silly constraint says that I cannot say hello on Friday. </message> <errorcode> 1001 </errorcode> </e:myfaultdetails> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.10/16

SOAP format (+header) <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" http://www.w3.org/1999/xmlschema-instance" xmlns:xsd="http://www.w3.org/1999/xmlschema"> <SOAP-ENV:Header> <t:transaction xmlns:t="some-uri" SOAP-ENV:mustUnderstand="1"> 5 </t:transaction> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:sayhelloto xmlns:ns1="hello" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"> <name xsi:type="xsd:string">alex</name> </ns1:sayhelloto> Sécurité en ingénierie du Logiciel p.11/16 </SOAP-ENV:Body> </SOAP-ENV:Envelope>

SOAP format (erreur sur header) <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>soap-env:mustunderstand</faultcode> <faultstring>soap Must Understand Error</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.12/16

SOAP via HTTP POST http://www.smarthello.com/helloapplication HTTP/1.0 Content-Type: text/xml; charset="utf-8" Content-Length: 587 SOAPAction: "http://www.smarthello.com/helloapplication#sayhelloto" <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" http://www.w3.org/1999/xmlschema-instance" xmlns:xsd="http://www.w3.org/1999/xmlschema"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:sayhelloto xmlns:ns1="hello" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"> <name xsi:type="xsd:string">john</name> </ns1:sayhelloto> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.13/16

SOAP via HTTP (retour) HTTP/1.0 200 OK Content-Type: text/xml; charset="utf-8" Content-Length: 615 <SOAP-ENV:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" http://www.w3.org/1999/xmlschema-instance" xmlns:xsd="http://www.w3.org/1999/xmlschema"> <SOAP-ENV:Body> <ns1:sayhellotoresponse xmlns:ns1="hello" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"> <return xsi:type="xsd:string">hello John, How are you doing?</return> </ns1:sayhellotoresponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sécurité en ingénierie du Logiciel p.14/16

SOAP : plusieurs transports via HTTP / TLS, via les extensions HTTP, via SMTP, via "Batch processing", via... Sécurité en ingénierie du Logiciel p.15/16

Q&R adulau@foo.be http://www.foo.be/cours/securite-webservices/ 3B12 DCC2 82FA 2931 2F5B 709A 09E2 CD49 44E6 CBCD Sécurité en ingénierie du Logiciel p.16/16