This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes is it possible for Axis2 and Axis1 co-exist in client application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "is it possible for Axis2 and Axis1 co-exist in client application?" Watch "is it possible for Axis2 and Axis1 co-exist in client application?" New topic
Author

is it possible for Axis2 and Axis1 co-exist in client application?

wenqi wang
Greenhorn

Joined: Jul 25, 2007
Posts: 2
I am currently responsible for designing new web service components,
that need to integrate web service client in the old system that use
Axis1. This client component is required to retrieve binary data
(attachement) from new web service server. I am trying to use Axis2
implementing new server . However I concerned about the conflict
between Axis1 jar and Axis2 jar files in client component, because we
cannot get rid of Axis1.

would you please give me some advise?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
Welcome to JavaRanch.

Axis 1 uses the "org.apache.axis" package, while Axis 2 uses "org.apache.axis2", so the core classes shouldn't conflict with each other. But the versions come with some auxiliary libraries that use differing versions in Axis 1 and 2, like JAX-RPC, SAAJ, WSDL and Commons Logging. Some of those (like Logging) present not problem, while others (like WSDL) may or may not.

I'd guess that you have a fair shot at making this work.


Ping & DNS - my free Android networking tools app
wenqi wang
Greenhorn

Joined: Jul 25, 2007
Posts: 2
Hi Ulf,

Thank you very much for the response. I will try.

If I have another instance deployed for my application that located with the same server as old one that used axis 1, I think it won't have any problem of conflict between axis1 and axis2 jar file as well as auxiliary files. what do you think? Many thanks

regards, hongwei
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is it possible for Axis2 and Axis1 co-exist in client application?
 
Similar Threads
Problem with Namespace Prefixes with Axis1 but not Axis2
Axis2 (1.5) - Use App Server's Admin console to deploy EAR, WAR, JAR|| Message service in Axis2
my webservice supports Axis1.x but not Axis2.x ,so is it the compatibility issue?
my webservice supports Axis1.x but not Axis2.x ,so is it the compatibility issue?
Creating a web service with Axis2 and wsdl2java / java2wsdl