Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 98340 - Support Axis 1.2 instead of Axis 1.1
Summary: Support Axis 1.2 instead of Axis 1.1
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 1.0 M6   Edit
Assignee: Chris Brealey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 92603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-03 14:27 EDT by Kathy Chan CLA
Modified: 2007-03-26 13:34 EDT (History)
9 users (show)

See Also:


Attachments
Patch 1 of 8 (524 bytes, patch)
2005-06-16 17:20 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 2 of 8 (3.56 KB, patch)
2005-06-16 17:20 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 3 of 8 (7.34 KB, patch)
2005-06-16 17:20 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 4 of 8 (595 bytes, patch)
2005-06-16 17:21 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 5 of 8 (508 bytes, patch)
2005-06-16 17:21 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 6 of 8 (572 bytes, patch)
2005-06-16 17:21 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 7 of 8 (514 bytes, patch)
2005-06-16 17:22 EDT, Kathy Chan CLA
no flags Details | Diff
Patch 8 of 8 (750 bytes, patch)
2005-06-16 17:22 EDT, Kathy Chan CLA
no flags Details | Diff
org.apache.axis12 plugin without JARs in lib directory (11.77 KB, application/x-zip-compressed)
2005-06-16 17:35 EDT, Kathy Chan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Chan CLA 2005-06-03 14:27:25 EDT
Move the support for Axis runtime from Axis 1.1 to Axis 1.2.

A new plugin org.apache.axis12 (similar to org.apache.axis11) will be created 
to hold the JARs from Axis 1.2 and it's license files.

The dependency of following plugins need to change:

org.apache.wsil4j
org.eclipse.jst.ws.axis.consumption.core
org.eclipse.jst.ws.axis.consumption.ui
org.eclipse.wst.ws.explorer
org.eclipse.wst.ws.parser
org.eclipse.wst.wsi
org.uddi4j

To support Axis 1.2 in the Web Service wizard:

Also AddAxisJARToBuildPathCommand and CopyAxisJarCommand in axis.consumption.ui 
plugin need to be updated.

We also need to test the explorer and the wst.wsi plugin with Axis 1.2.
Comment 1 Kathy Chan CLA 2005-06-08 10:08:32 EDT
I've created the org.apache.axis12 plugin and tested bottom-up, top-down and 
client scenario with the M4 driver.  Creating bottom-up Web service with 
AddressBook worked for RPC/encoded and doc/lit (wrapped) but has a NPE during 
invocation for doc/lit (same problem as with Axis 1.0 and Axis 1.1).  Creating 
bottom-up Web service with Echo worked fine using doc/lit.

I've tested bottom-up scenario using Axis 1.2 with 0603I driver as well but was 
not able to test skeleton and client because of defect 98537.

I've also tested the WSE UDDI funciton and the WS-I validation using Axis 1.2 
with 0603I driver and it worked fine.

So we are just waiting for legal approval and need to update the license and 
readme files before able to check in the plugin into the CVS repository.
Comment 2 Kathy Chan CLA 2005-06-12 11:01:30 EDT
*** Bug 92603 has been marked as a duplicate of this bug. ***
Comment 3 Chris Brealey CLA 2005-06-16 13:02:36 EDT
FYI, Axis 1.2.1 is now available. In Axis' lib/ directory, only axis.jar and 
axis-ant.jar differ from Axis 1.2. I've sent note(s) to Janet Campbell seeking 
clearance to ship Axis 1.2.1 in WTP. If we don't get clearance in time for M5, 
we'll set our sights on M6.
Comment 4 Kathy Chan CLA 2005-06-16 17:19:07 EDT
I've updated the JARs, license, release note and readme in the 
org.apache.axis12 plugin to use the files from Axis 1.2.1.

I've also removed the call to LiteralSupportMessageTask since literal support 
for Axis 1.2 is suppose to be better.

I am still getting a runtime error when doing doc/literal (no wrap) on 
AddressBook though (Echo is fine).

There's going to be 8 patches and 1 zip containig the org.apache.axis12 plugin.

This can go in once we get legal clearance.
Comment 5 Kathy Chan CLA 2005-06-16 17:20:04 EDT
Created attachment 23388 [details]
Patch 1 of 8
Comment 6 Kathy Chan CLA 2005-06-16 17:20:19 EDT
Created attachment 23389 [details]
Patch 2 of 8
Comment 7 Kathy Chan CLA 2005-06-16 17:20:34 EDT
Created attachment 23390 [details]
Patch 3 of 8
Comment 8 Kathy Chan CLA 2005-06-16 17:21:00 EDT
Created attachment 23391 [details]
Patch 4 of 8
Comment 9 Kathy Chan CLA 2005-06-16 17:21:18 EDT
Created attachment 23392 [details]
Patch 5 of 8
Comment 10 Kathy Chan CLA 2005-06-16 17:21:35 EDT
Created attachment 23393 [details]
Patch 6 of 8
Comment 11 Kathy Chan CLA 2005-06-16 17:22:27 EDT
Created attachment 23394 [details]
Patch 7 of 8
Comment 12 Kathy Chan CLA 2005-06-16 17:22:46 EDT
Created attachment 23395 [details]
Patch 8 of 8
Comment 13 Kathy Chan CLA 2005-06-16 17:34:58 EDT
I just found out that I could not attach the whole Axis 1.2 plugin in 1 patch.  
I'm attaching the plugin without the JARs.  Here's the list of JARs to get from 
Axis 1.2.1 and put into the org.apache.axis12 lib directory:

activation.jar
axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-httpclient-3.0-rc2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
log4j-1.2.8.jar
mailapi_1_3_1.jar
saaj.jar
servlet.jar
wsdl4j-1.5.1.jar

Note that we are not putting xercesImpl.jar and xmlParserAPIs.jar in because 
it's the same level shipped in the org.apache.xerces plugin and a dependency 
was added to the xerces plugin.

URL for Axis 1.2.1:

http://apache.mirror.rafal.ca/ws/axis/1_2_1/axis-bin-1_2_1.zip
Comment 14 Kathy Chan CLA 2005-06-16 17:35:47 EDT
Created attachment 23397 [details]
org.apache.axis12 plugin without JARs in lib directory
Comment 15 Kathy Chan CLA 2005-06-16 17:58:55 EDT
We also need to test Axis 1.2.1 with SLES to see if the problem with deploy is 
fixed or not.  If not, we'll have to repatch config_wsdd in Axis.jar (Rupam did 
it before).
Comment 16 Luis Montes CLA 2005-07-06 19:33:12 EDT
It doesn't look like it made it to M5, anyone know when axis 1.2.1 will be part
of WTP ?

Comment 17 Chris Brealey CLA 2005-07-07 11:38:24 EDT
This Axis 1.2.1 didn't make it into M5 so I'm reopening this defect and 
assigning a target of M6.
Comment 18 Francis ANDRE CLA 2005-07-08 07:43:18 EDT
Hi Chris

Can you change the priority of this defect from "enhancement" to normal/major 
since I am waiting for Axis 1.2 since the previous release of WTP? I would not 
have to wait another shifted release (aka M7) due to the "enhancement" flavor.

Regards
Comment 19 Luis Montes CLA 2005-07-08 12:39:19 EDT
I agree, this is not an enhancement. Axis is broken with the 1.5 jdk

Comment 20 Chris Brealey CLA 2005-07-12 17:10:09 EDT
Changing to major. The most irritating thing about this bug is we have the fix 
ready (see patches) but cannot commit it until we have the necessary legal 
clearance. We will continue to push for this and try to get Axis upgraded 
before WTP 0.7 is released, but if this fails, we will have to target 1.0 M8 
and make do with the attached patches in the interim.
Comment 21 Luis Montes CLA 2005-07-15 14:08:59 EDT
Its not in 0.7 RC1
Any word from the legal team?

thanks,
Luis


Comment 22 Chris Brealey CLA 2005-07-18 11:43:24 EDT
Sorry, no word yet. We have notified legal yet again to please approve Axis 
1.2.1.
Comment 23 Kathy Chan CLA 2005-07-21 19:30:52 EDT
Here's the note Chris sent out to wtp-dev:

EOD yesterday we received legal approval to ship Axis 1.2.1 with Eclipse WTP. 
We are down to the wire on declaring RC2 and WTP 0.7 and would ordinarily not 
entertain a change of this sort now, but knowing the value of Axis 1.2.1 over 
Axis 1.1 have decided to attempt this change today, along with all the 
necessary testing, code reviews and risk assessment required at this stage. If 
the change goes smoothly and the risk appears very low, we will replace 
plugin "org.apache.axis11" containing Axis 1.1 by plugin "org.apache.axis" 
containing Axis 1.2.1. If for any reason - again, thru testing, code reviews or 
risk assessment - we find this change to carry any risk of regression, then we 
will regretfully have to postpone it to WTP 1.0. 

On a more technical level, the change from Axis 1.1 to Axis 1.2.1 affects these 
aspects of WTP, all of which will endure a measure of testing before we even 
consider committing the change: 
1. The Web service Axis wizards run the Axis emitters and other bits of the 
Axis distribution to generate Axis services and clients. 
2. The Web service Axis wizards deploy the Axis jars to the target Web project 
hosting the Axis service or client. 
3. The Web Services Explorer and UDDI4J both act as Web service clients, using 
the Axis runtime for invoking Web services and talking to UDDI registries. 
4. The WSI test tools rely on a smidgen of code from the Axis distribution. 

Note: This change is to replace Axis 1.1 by 1.2.1. It will NOT result in both 
Axis 1.1 and 1.2.1 being available in the Web services wizards for purposes of 
deploying clients or services. Support for multiple versions of Axis is being 
tracked under enhancement 88684 (https://bugs.eclipse.org/bugs/show_bug.cgi?
id=88684). 

Comment 24 Kathy Chan CLA 2005-07-21 19:46:27 EDT
Here's the extent of the change:

- New plugin org.apache.axis created with version 1.2.1.  This replaces 
org.apache.axis11.  The new plugin contains the new license files and the 
following JARs from axis-bin-1_2_1.zip:

axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j-1.5.1.jar

Note that the previous list of JARs from comment 13 was from axis-src-1_2_1.zip 
and we should only need to include the JARs from axis-bin-1_2_1.zip.

- New feature plugin org.apache.axis.feature created with version 1.2.1.  This 
replaces org.apache.axis11.feature.

- The dependencies of the following plugins are updated from org.apache.axis11 
to org.apache.axis:

org.apache.wsil4j
org.eclipse.jst.ws.axis.consumption.core
org.eclipse.jst.ws.axis.consumption.ui
org.eclipse.wst.ws.explorer
org.eclipse.wst.ws.parser
org.eclipse.wst.wsi
org.uddi4j

- Code in the following plugins are modified for the Web service wizard to use 
Axis 1.2.1 rather than Axis 1.1:
  - org.eclipse.jst.ws.axis.consumption.ui
  - org.eclipse.jst.ws.axis.creation.ui
 
- Plugin org.eclipse.wst.feature updated to include org.apache.axis.feature 
rather than org.apache.axis11.feature.

The changed had been committed and tagged as v20050721_1900 and the following 
map files were tagged:
  - jst-ws.map
  - wst-ws.map
  - wst-ws-thirdparty.map
  - wtp-feature.map

I've done some testing with bottom-up, top-down and client scenario using the 
new plugin.  Jeffrey Liu had done testing with the WS Explorer and David Lauzon 
had tested the wsi validation.
Comment 25 Kathy Chan CLA 2005-07-21 20:34:46 EDT
Also changed the reference to org.apache.axis from org.apache.axis11 in the 
feature org.eclipse.jst.feature and org.uddi4j.feature. 
Comment 26 Kathy Chan CLA 2005-08-23 17:12:42 EDT
Verified on WTP 0.7.
Comment 27 Mirza Hadzic CLA 2007-03-26 13:23:31 EDT
Same error here with Eclipse Callisto, Version: 3.2.0, Build id: M20060921-0945. Java version 1.4.2_06, Please reopen this bug.

IWAB0019E Error in getting method from Java bean.
    java.lang.NullPointerException
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:357)
    at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:262)
    at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.getEObject(ProjectResourceSetImpl.java:185)
    at org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.reflectType(JavaRefFactoryImpl.java:401)
    at org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.reflectType(JavaRefFactoryImpl.java:388)
    at org.eclipse.jst.ws.internal.common.JavaMOFUtils.getJavaClass(JavaMOFUtils.java:199)
    at org.eclipse.jst.ws.internal.axis.creation.ui.command.JavaToWSDLMethodCommand.execute(JavaToWSDLMethodCommand.java:83)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:145)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
    at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 28 Chris Brealey CLA 2007-03-26 13:34:08 EDT
Mirza, I'm not sure if you meant your comment 27 for this bug, or another. In any event, please open a new bug to track the problem you're seeing. Thanks - CB.