File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Change Axis Version in WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Change Axis Version in WSAD" Watch "Change Axis Version in WSAD" New topic
Author

Change Axis Version in WSAD

David Kincade
Greenhorn

Joined: Nov 10, 2005
Posts: 7
I would like to change the version of Axis that WSAD 5.1.2 uses from 1.0 to 1.1 or higher. Is that possible (and how)?

Thanks in advance
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
No it's not possible. There are two reasons; one, WebSphere (not WSAD -- WebSphere the application server -- we need to be clear here) does not use Axis, as it uses its own internal web services engine. So if you're generating to WebSphere, you're not using Axis anyway.

If you are generating your code directly to Axis (which some later versions of WSAD and certainly RAD allow) then it's also impossible to change the version, but that's because the code-generation logic cannot be changed. To get to the newest version of axis, you have to upgrade to the newest version of your development environment.

Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
David Kincade
Greenhorn

Joined: Nov 10, 2005
Posts: 7
I should have been more clear on my initial post (sorry for the lack of details).

I am using WSAD 5.1.2 and I am using the wizard to create a Web service Client to consume an external web service. When this is done, it drops axis.jar (version 1.0) in the project along with log4j-2.1.6.jar.

I would like to have it use the axis 1.1 jar to create the client stubs and, if possible, the log4j-2.1.8.jar at a minimuim.

So I think the reply to my initial message describes the web service deployment side ... and it still may not be possible to change how the client stubs are generated ... but I wanted to double check.

Thanks.
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
You could write an Ant Script (perhaps) to change out the Axis JAR file, but there's no guarantee that the generated stubs would work with the new JAR file -- it should but that's not a guarantee.

Kyle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change Axis Version in WSAD