Comments
Patrick Collands wrote: collands (AT) gmail com I'd be very grateful for an invitation. Thank you.
Cloud Expo on Google News

SYS-CON.TV

2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Click For 2008 West
Event Webcasts
Modernizing Axis1 Services Painlessly
Migrating with WSAS

If you’ve been working with Web Services for a long time, chances are you’ve worked with Apache Axis and that you have an Axis Web Service somewhere in your code base. You probably also know about the many improvements in Axis2, especially around support for the more modern WS-* standards. So maybe you’ve been planning on migrating these old Axis services, but it can be hard to justify spending a lot of time on something that’s working just fine. However, there’s a great new migration path available to you: WSO2’s Web Services Application Server (WSAS.) With WSAS, you can take your existing Axis Web Service, redeploy it to WSAS, and then with just a few clicks enable things like WS-Security and WS-Reliable Messaging. There’s no need to rewrite or regenerate any code.

Does this sound too good to be true? It’s not, just read on.

Prerequisites
In this article, you’ll work with WSO2 WSAS. You’ll definitely want to download the latest version of WSAS. You can run it with any Java Web container, such as Tomcat. Or you can run it in standalone mode. This article assumes experience with Axis, and in particular with deploying an Axis Web Service. It references a sample from Axis 1.4. Obviously a familiarity with Web Services in general, and with some of the modern WS-* standards is very useful.

Example of an Existing Axis Web Service
Let’s take a typical starting point for a lot of people. You have a service you developed and used Axis to expose as a Web Service. There’s a good chance that the service might not have been originally intended to be a Web Service. Maybe it was just an internal service used by one application. You then realized it would be valuable to other applications you were developing and used Axis to do this. There are a couple of different ways to do this with Axis, but the most powerful and flexible is to use Axis’s Web Service Deployment Descriptor (WSDD.)

Let’s take a look at a sample WSDD. Axis ships several great samples. We’ll use the bid-buy sample. It mimics an e-commerce system. It exposes a Web Service for doing typical e-commerce tasks like requesting a price quote and submitting purchase orders. Let’s take a look at its WSDD file shown in Listing 1.

This is a fairly typical WSDD. It describes two services. Each service has several operations that can be called. It also describes mappings between the parameter types of the service to Java classes. To deploy this you’d use Axis’s deployment tool, the AdminClient.

About Michael Galpin
Michael Galpin is an architect at eBay, specializing in presentation technologies. He has been hacking on the web since the 90s, is a frequent writer for IBM developerWorks, and has a degree in mathematics from Caltech.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Latest Cloud Developer Stories
CloudBench Applications, Inc. announced its financial results for the three months and nine months ending September 30, 2009. All amounts are stated in Canadian dollars unless otherwise noted. Revenues from BasicGov, the Company's cloud computing solution for local government, gr...
The new contract is an industry first, with CSC being the first Microsoft partner to lead and win a cloud computing services agreement of this scale. Under terms of the contract, CSC will provide Royal Mail Group's 30,000 employees with access to new IT services using Microsoft's...
Operates in over 170 countries and is one of the world’s leading providers of communications solutions and services. Richard Tarboton talks for MeettheBoss.TV on his role as Head of Energy & Carbon for BT and what they are doing towards reducing carbon emissions.
CA is going to put its Agile Planner software on salesforce.com’s Force.com platform in the first half to accelerate development time and give users visibility over their development initiatives to reduce time-to-market. Customers are supposed to be able to accelerate the deploym...
Despite its uncertain fate Sun soldiers on. Monday it trotted out a cloud-based multiplatform desktop as a service for K-12 and community colleges that can run Windows, the Mac OS, Linux and Solaris applications to nearly any client device, including its own Sun Ray thin clients....
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
CloudBench Applications, Inc. announced its financial results for the three months and nine months e...