WebSphere MQ Transport for SOAP
Transcription
WebSphere MQ Transport for SOAP
® IBM Software Group WebSphere MQ Transport for SOAP © 2005 IBM Corporation IBM Software Group | WebSphere software What is SOAP Lightweight XML based messaging protocol Used to encode Web Service requests/responses Transported over HTTP, SMTP etc and now WMQ Provides a way for applications to communicate 2 IBM Software Group | WebSphere software Interfaces SOAP enabled client HTTP appli SOAP client layer HTTP server HTTP transport WMQ sender WMQ WMQ listener SOAP layer service (appli server) SOAP deployed service WMQ v6 fournit l’infrastructure pour supporter la transmission de SOAP par MQ Couches SOAP client et server interchangeables Mise à jour et intégration du SupportPac MA0R Changement nécessaire à l’URI : jms:qname Support Sender et Listener pour les environnements Axis (c-à-d Apache) Au niveau d’administration, pas code ! Scripts fournis pour faciliter le déploiement .NET (c-à-d Microsoft) 3 IBM Software Group | WebSphere software WMQ/SOAP Replace HTTP etc with WMQ/SOAP Existing client applications require minimum change Use jms:/queue instead of http:// WMQ details in the URL (Qmgr, request queue etc) Service code unchanged WMQ listener invokes service and gets response May run in a transaction SOAP message encoding/decoding provided by Axis/.NET Axis information at ws.apache.org/axis .NET information at www.microsoft.com Senders/Listeners for Apache Axis and Microsoft .NET Simple deploy utility for deploying Web Services Heterogeneous operation 4 IBM Software Group | WebSphere software Avantages Transport fiable. Avec MQ, les messages arrivent, une fois assurée. Compression ainsi que cryptage/certification SSL possible avec MQ Haute disponibilité et « scalabilité » sont assurés par MQ Cluster et/ou Shared Queues (z/OS) Transactionalité (2PC) assuré (eg. MQ, RRS) Le changement de transport se fait au niveau d’administration ; pas de développement 5 IBM Software Group | WebSphere software Deployment WMQ provides a simple deploy utility (users can write their own) Service code (.java file for Axis, .Asmx file for .NET) is starting point. Executed in directory where service resides (root directory in case of a Java service) WMQ utility executes the following steps to deploy a service Compile service code (Java only) Generate WSDL Generate server side wsdd (Java only) Set up WMQ bits (queues, listener scripts etc) Generates proxies for use by client (.NET and/or Axis) 6 IBM Software Group | WebSphere software Restrictions No one-way messaging No support for SOAP attachments Synchronous messaging only in WMQ 6.0 Asynchronous operation provided by Cat 2 supportPac (MA0V) 7