-->

How to install Axis2 runtime in Eclipse Oxygen?

2019-06-10 22:50发布

问题:

I'm doing some tests with the last Eclipse developer builds, the Oxygen RC3. I know it's only a RC product, but in the milestones there was no problem with the Axis2 runtime. Here and now the Axis Runtime it's not present.

When I try to run the wizard and create the Web Service, I just don't see the option to set Axis2 runtime, just the Axis runtime.

Also I tried to install the plugins moving them into the dropins folder, running Eclipse with the -console option from the command line (following the Apache instructions) and when I check in the console with the command ss axis2 it says "Framework is launched.", and also I get 2 bundles installed:

Unfortunately, when I try to start them I got the message: BundleException: Could no resolve module: org.apache.axis2.eclipse.service.plugin [107X] Unresolved requirement: Import-Package: javax.xml.stream; version="1.0.0"

I tried installing them on the plugins folder, not working.

Also, I follow other guides surfing the net unsuccessfully.

What can I do? Thanks in advance!

回答1:

Well, after some research, I get the solution! Axis2 Tools and CXF Web Services come with Eclipse Java EE Developer Tools Project, so I suppossed that will be the package that includes Axis2.

So I just search on Google that package in the Eclipse Marketplace (this link), and drag the Install button into the Eclipse SDK. I check and install the Axis2 Tools, CXF Web Services, and required packages.

After restar Eclipse, magic has done.

I have the Axis2 Runtime Settings:

The Axis2 Code Generator and Axis2 Service Archiver wizards:

And, finally, I have the Web Service runtime Apache Axis2 inside the Web Service Client wizard: