Integrating MagooClient with JMS SOA (2)
ProcessorService Implementation
Sample Java-based implementations are available for:
- a ProcessorService, which performs validation and routes messages to the RectifyQueue accordingly.
- a client application to initially submit PackingSlips to the ProcessQueue.
The sample implementations are available for a number of popular ESB/SOA products and include build files and instructions for creating, deploying and running the ProcessorService and Client Application. Please contact
info@magoosoft.com for further details.
Registering the WSDL
In order to recognize and validate an XML/SOAP message, MagooClient needs to be able to map the message content to a Schema or WSDL definition. This is achieved using a ‘Message Type Catalog’. To import the WSDL simply click on the New button in the main MagooClient window and then Import WSDL…
On import, two new message types will be registered representing the processPackingSlip and rectifyPackingSlip operations. To see a sample rectify SOAP message, double-click on the SuperLogisticsService_rectifyPackingSlip entry. A new message will be opened:
The MagooClient Message Editor shown above uses the default MagooClient rendering engine to create a form representing the SOAP content - the raw SOAP content can be viewed by clicking on the XML tab. The Message Editor offers some very useful functionality with regard to the XML message including:
- Synchronized form and tree views for simple XML document navigation – the tree view offers a right-click menu to perform XML structural changes including choices and type substitution
- Automatic validation which responds to individual keystrokes for immediate user feedback.
- Form controls based on schema facets – length and format (checkboxes, drop-downs etc) are tailored to the type information within the schema.
- Display of schema/WSDL annotation for user guidance.
The default MagooClient form view would typically be used by technical MagooClient users. We’ll see in later sections how the form can be customized for look and feel and how advanced features such as the navigation tree can be hidden to facilitate non-technical users.
< Previous 1 2 3 4 5 Next >