Ask the Expert

Web service accessibility

We developed an Axis document-style Web service. The time has come for a new version (WSDL evolution), but we want to keep the old one accessible at the same location. Is it possible to route the incoming request to different targets by writing a handler that could analyze the message? And, if possible, is it a good practice?

    Requires Free Membership to View

Your handler would have to intercept the call before Axis attempts to dispatch it. Otherwise you'll get the classic "no such operation" error for one or the other version. I also don't think Axis will let you deploy two services at the same URL. You would do better to deploy an intermediary (see the Synapse project) at the original URL, and then this intermediary can route the message accordingly. Your intermediary would need to use the message style service. It's definitely a good practice to make upgrades as seamless as possible.

This was first published in November 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: