Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web Services, top-down(Problems creating WebService from WSDL file)
Web Services, top-down [message #693270] Wed, 06 July 2011 07:19
Carl Binding is currently offline Carl BindingFriend
Messages: 1
Registered: July 2009
Junior Member
I still have problems when trying the TOP-DOWN approach from some WSDL file (which works with Axis1).

The bottom-up (java->WSDL) works fine as described in the step-by-step tutorial; thank you. Important notice is to explicitly name the generated client (as it says to do)

when trying the top-down generation, things went south fairly badly: the deployed
servlet seemed to have confused the Tomcat server; no more connectivity to the server.

Hence, my request is still pending. Any experiences doing a TOP-DOWN WS with Axis2 and Eclipse WTP (Indigo)

Hi Carl,

Regarding the facet dependency on v3.0, there is an existing bug for this. See [1].

You do have to deploy your project to the server explicitly, to bring up the Axis2 servlet. Select Run -> Run As -> Run on Server. You can get the URL of the service after you click on the Services link.

If you want to test the web service, move the slider to the Test position in the web service wizard. Or, you could launch the WSE after the fact, and provide the URL of the service (WSDL) that you want to test. Go through this tutorial [2] to see if it addresses all your concerns.

Please post any follow-up questions in the WTP newsgroups [3].

[1] ...
[2] ...
[3] ...

Keith Chong
WTP Web Services


From: Carl Binding <>
Date: 07/05/2011 11:25 AM
Subject: [wtp-dev] Eclipse WTP/Indigo/Axis2
Sent by:


this is newbie's question.... I've been trying to work with WS using
Eclipse. I seem to be ok when using axis1, i.e. I see a service, I see a
client, etc. Always top-down, i.e. from WSDL to Java.

When switching to Axis2, things fail to work as described in the help

I'm running Eclipse WTP/Indigo, build 20110615-0604. I use Axis2
axis2-1.5.4-war and Tomcat v 7.0.

I notice that under Project Facets it says Axis2 v 1.1 and I also had to
switch Dynamic Web Modules from v 3.0 to v 2.5. Might this be the source
of my problems?

Do I need to deploy the axis2 stuff on tomcat explicitly?

When building the WS (with axis2 dutifully selected); I get no error. But
there is no web-service explorer coming up. And, unlike for the case of
axis1 built WS, I don't seem to
find the magic wand to hook-up my new web-service with the web-service
explorer. which file would I select before I say "Web Services -> Test
with Web Services Explorer"?

I get following error message:

IWAB0379E Unable to open
IWAB0135E An unexpected error has occurred.
WSDLException: faultCode=OTHER_ERROR:

Unlike for the case of axis1, building a client seems to produce nothing
much. in the case of axis1, I get JSPs which invoke the client stubs - I
did trace this via the debugger....

Other changes in the settings I did were under the Web Services - >
Servers and Runtime where I selected Tomcat 7.0 and axis2

So I'm at a loss here. What is the trick to get Eclipse WTP to work with

Thanks for any advice,

Previous Topic:StructuredTextViewer with source validation?
Next Topic:How to add custom code templates to my plugin?
Goto Forum:

Current Time: Wed Jan 27 10:38:29 GMT 2021

Powered by FUDForum. Page generated in 0.01963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top