Skip to main content


developerWorks  >  Tivoli | SOA and Web services  >

Create a WSDM interface for an HTTP server using Apache Muse

Exposing the manageability of a common product with Web services standards

developerWorks

Level: Intermediate

Dan Jemiolo (danjemiolo@us.ibm.com), Advisory Software Engineer, IBM

21 Nov 2006

Register now or sign in using your IBM ID and password.

Learn how you can use Apache Muse to create a WS-DistributedManagement (WSDM)-compliant interface for a manageable resource. In this tutorial, you'll see how to design the Web service interface for the resource, generate code for the implementation, and deploy the code as a Web application. The manageable resource focus of this tutorial is the ubiquitous Apache HTTP Server, commonly-referred to as "httpd." After completing this tutorial, you should have a Muse-based application that lets any WSDM-compliant management client manipulate the httpd resource.

In this tutorial

  • Installing and understanding the Apache HTTP server

  • Designing a WSDL, Part 1: The resource properties

  • Designing a WSDL, Part 2: The resource operations

  • Designing a WSDL, Part 3: Creating the XML

  • Designing a WSDL, Part 4: Adding the HTTP definitions

  • Code generation with WSDL2Java

  • Implementing the HTTP server operations

  • Implementing the HTTP Server operations

  • Making the implementation more configurable

  • Building and deploying the WSDM endpoint

  • Testing the WSDM endpoint

Prerequisites

This tutorial is written for Java programmers whose skills and experience are at an intermediate level. You should also have a solid understanding of the concepts and XML schemas that are defined in the WS-ResourceFramework (WSRF) and WSDM standards. Finally, it is expected that you have tried the introductory tutorial (see Resources for a link) that is included with the Muse 2.0 distribution and have successfully run the sample applications.


System requirements

To run the application that you build in this tutorial, you need to have Apache Tomcat installed on your system. Keep in mind that Tomcat 5.5 requires Java Platform, Standard Edition (Java SE) 1.5, so if you are using Java SE 1.4, you'll want Tomcat 4.1 or 5.0. The work is shown using a Microsoft Windows console, but the tutorial can be completed by UNIX® and Linux® users as well.



Duration

2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community