Read Digital Edition


ADS BY GOOGLE
Top Three Links You Must Click On


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

  Subscribe to our RSS feeds now and receive the next article instantly!
In It? Reprint It! Contact advertising(at)sys-con.com to order your reprints!
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE
There's a lot of talk about how we need to focus on our buyers' issues and provide them educational ...
SugarCRM, the world’s leading provider of open source customer relationship management (CRM) softwa...
SYS-CON Events announced today that the "Diamond" and "Platinum" sponsorship opportunities for the u...
SYS-CON Events announced today that the "show prospectus" for the 5th International Cloud Computing ...
This past weekend I set out explore some of the extension capabilities of Google Wave. One of the we...
More good news for cloud computing! Google last week released its once mysterious Chrome Operating S...
In CloudBerry Lab we are striving to make our customer service better. In this competitive market wi...
We talk a lot about social media on Marketing Trenches. And for good reason – Social media seems to...
Intel has put out its promised beta SDK for Windows (C and C++) and Moblin (C) developers working on...
InformationWeek stumbled on a Microsoft patent application dating back to 2006 deceptively titled “M...
Berlin-based ThinPrint AG, the printer virtualization house, thinks it’s got a cloud solution for th...
Behaving like it’s got a future, Sun Monday put out what it calls a significant new version of Virtu...
IBM has acquired Guardium, a seven-year-old subsidiary of Israel’s Log-On Software transplanted to M...
But on the web, access to services is implicit in the fact that the business is offering the service...
Oracle has offered to cordon off MySQL inside a combined Oracle-Sun to get the European Commission t...
The second set of charges filed last week against Indian outsourcer Satyam Computer Services founder...
Gartner told Reuters that it overestimated how many PCs Acer shipped in the last seven quarters by a...
Office Web Apps, Microsoft’s answer to Google Apps, are supposed to be out sometime in June along wi...
Gartner thinks the server business has stopped sliding into the abyss. Third-quarter sales weren’t a...
Gartner is buying ~$40 million-a-year AMR Research Inc for close to $64 million in cash. AMD special...