|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Oracle Web Services Manager
A platform to manage, secure, and extend enterprise Web Services
By: Brian Barbash
May. 26, 2005 11:00 AM
As departments and organizations in the enterprise adopt Web services, the importance of managing and securing, and in some cases, extending these services to partners, grows. Using a centralized platform to do it reduces the effort and cost involved, while upping security. Web Services Manager from Oracle is designed to meet the challenge of stitching together services in large enterprises into a single management system. The Web services management functionality in WSM is built on the following basic components:
Gateways Establishing a gateway is as simple as assigning it a name and a URL. The URL will ultimately serve as the endpoint for all Web services managed by the gateway. Once created, each applicable Web service must be registered. WSM can read service descriptions directly from a WSDL file or from a UDDI registry. Figure 1 shows the service registration screen for a gateway created to serve as the entry point for the personal data management services already created. In this example, the Workout Service will be imported from a WSDL file. WSM requires a service name, version, the URL of the WSDL document, and the protocol on which the service operates. Once imported, WSM creates a new service URL and WSDL document that point to the gateway, hiding the true endpoint of the service from the calling clients. Notice that Figure 1 highlights one of the most powerful features of WSM: the ability to transfer between protocols. Out-of-the-box, WSM's gateways can transfer SOAP over HTTP(S) to a JMS or IBM MQ Series messaging system. The system can also be extended to support additional custom protocols. This capability provides the immediate benefit of exposing internal, heterogeneous Web services on a single protocol. With all services registered in the gateway, WSM must be configured to route incoming service requests appropriately. The system provides an XPath-based content-routing mechanism that supports inspection of either the SOAP Envelope or a SOAP Attachment. (Note: When inspecting an attachment, its content must contain XML and be referenced in the SOAP Envelope according to the SOAP with Attachments specification.) In the case of the gateway we just created, the content-routing instructions must be established for each of the registered data management Web services. For example, the routing instruction for adding a record in the movie collection service is based on the XPath statement: As shown in the XPath statement example, routing instructions are namespace-aware. WSM automatically presents an input field for each referenced namespace in the statement. When messages are received by the gateway, content routing is done in the order in which the instructions appear in the console. This order may be adjusted manually to optimize processing efficiency. Agents Unlike gateways in which service calls are routed based on their content and/or operation, all requests to or from an application on a server with an agent installed are processed by the agent. On Java servlet containers, agents can be deployed as JAX-RPC handlers or as servlet filters. Out of the box, Oracle supports Apache Tomcat with Axis, BEA WebLogic, and Tibco BusinessWorks. The new release will include support for Microsoft IIS as well as IBM WebSphere. Setting Policies A policy consists of four separate pipelines:
To illustrate, I've modified the expenses ledger service to use a slightly different document structure. The service itself will support both document structures. Instead of modifying the client for the new structure, however, I will insert steps to transform the incoming and outgoing document via XSL. To configure this in the system, WSM simply requires a valid URL or physical file location for the stylesheet. Once configured and deployed, the calling client sends the original document to the server, the gateway intercepts it and transforms the document via the newly configured XSL pipeline step, routes the document to the appropriate service, gets a response, transforms the document back to its original form, and returns the result to the calling client. Monitoring Summary SIDEBAR: Reader Feedback: Page 1 of 1
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||