Service Oriented Architecture SOA eBusinesses Web Services Specifications
Service Oriented Architecture (SOA) και ο ρόλος της στις e-Businesses Κορδατζάκης Αντώνιος
Web Services Specifications l Security l Process flow l Transactions l Reliable Messaging l WS*, από την IBM, Microsoft, Sun κ. α.
Integration με Messaging Systems
Τύποι καναλιών l Point-to-Point l Publish-Subscribe l Datatype l Invalid Message l Dead Letter l Guaranteed Delivery l Channel Adapter
Μηνύματα l Header l Body <soap: Envelope> <soap: Header> … </soap: Header> <soap: Body> … </soap: Body> </soap: Envelope>
Τύποι μηνυμάτων l Command Message l Document Message l Request-Reply Message l Message Sequence l Message Expiration
Επεξεργασία μηνυμάτων l Message Routers l Content-Based Router l Splitter l Content Enricher l Content Filter
Indigo l Το Messaging System της Microsoft l Core component της επόμενης έκδοσης των Windows l Ενοποίηση τεχνολογίων: ¡ Web Services (ASMX) ¡. NET Remoting ¡. NET Enterprise Services ¡ Web Services Enhancements ¡ Message Queues
Demo Εταιρεία 2 http Client Εταιρεία 1 Transformer Router http tcp Service Instance 2 Service Instance 1 Network
Το μήνυμα του Client Εταιρεία 1 <company> <name>XYZ Inc. </name> <address 1>One Abc Way</address 1> <address 2>Some avenue</address 2> <city>Tech city</city> <country>Neverland</country> </company>
Το μήνυμα μέσω tcp <s: Envelope xmlns: s="http: //www. w 3. org/2003/05/soap-envelope"> <s: Header> <a: Action s: must. Understand="1" xmlns: a="http: //schemas. xmlsoap. org/ws/2004/08/addressing">myaction</a: Action> <a: Message. ID xmlns: a="http: //schem. . . sing">0 d 748 c 87 -1368 -47 d 0 -b 484 -5 ee 480 f 26137</a: Message. ID> <a: To s: must. Understand="1" xmlns: a="http: //schemas. xm. . . dressing">net. tcp: //localhost: 2345/SOA/Service. End. Point. Tcp</a: To> <a: Reply. To xmlns: a="http: //schemas. xmlsoap. org/ws/2004/08/addressing"> <a: Address>http: //schemas. xmlsoap. org/ws/2004/08/addressing/role/anonymous</a: Address> </a: Reply. To> </s: Header> <s: Body> <company> <name>XYZ Inc. </name> <address 1>One Abc Way</address 1> <address 2>Some avenue</address 2> <city>Tech city</city> <country>Neverland</country> </company> </s: Body> </s: Envelope>
Το μήνυμα μέσω του Transformer και http <s: Envelope xmlns: s="http: //www. w 3. org/2003/05/soap-envelope"> <s: Header> <… http: //schemas. xmlsoap. org/ws/2004/08/addressing"> <a: Address>http: //schemas. xmlsoap. org/ws/2004/08/addressing/role/anonymous</a: Address> </a: Reply. To> </s: Header> <s: Body> <html> <head> <title> Welcome to XYZ Inc. </title> <style> body, td {font-family: Tahoma, Arial; font-size: 9 pt; } </style> </head> <body> <h 2> Welcome to XYZ Inc. </h 2> <p /> <b>Our contact details: </b> XYZ Inc. One Abc Way Some avenue Tech city Neverland</body> </html> </s: Body> </s: Envelope>
- Slides: 27