Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create an Axis2 Web Service Client in Eclipse?

I'd like to use the "Web Service Client" wizard to create a web service client in Eclipse, but the wizard doesn't allow me to choose Axis2 as the web service runtime; I'm stuck with just plain Axis.

I start off at the following screen (which I got to via File -> New -> Other -> Web Service Client ):

Web Service Client dialog screenshot

I click on "Web service runtime: Apache Axis", to get this new "Client Environment Configuration" dialog:

Client Environment Configuration dialog screenshot

I've chosen "Apache Axis2", but the OK button is grayed out. Not matter what I choose in this dialog--even if I choose "Apache Axis"--the OK button is grayed out. I can't get past this step. Am I using a bad version of Eclipse (Indigo version 20110615-0604 here), do I need to install/upgrade some plugin (I've installed Axis2 Tools 1.1.200v201103022)? What's wrong here?

This is on a Windows 7 64-bit machine.

like image 235
Jay Sullivan Avatar asked Jul 21 '11 21:07

Jay Sullivan


People also ask

How do I set Axis2 preferences in eclipse?

Open Window -> Preferences -> Web Services -> Axis2 EmitterSelect the Axis2 Runtime tab and point to the correct Axis2 runtime location. Alternatively at the Axis2 Preference tab you can set the default setting that will come up on the Web Services Creation wizards. For the moment we will accept the default settings.

How do you consume Java SOAP Web Services using Axis2 client?

All you need to do is create a new "Dynamic Web Service Project" in a RAD Workspace. Then import your wsdl file to this Project. Then, right click on that file, and select Webservices ---> Generate Client. This would allow you to configure parameters like WS Runtime which can be set to Apache Axis here.


1 Answers

Untill and unless you won't add any server the OK button will be grayed out.

enter image description here

enter image description here

like image 89
BOSS Avatar answered Sep 20 '22 18:09

BOSS