|Web Services, top-down [message #693270]
||Wed, 06 July 2011 07:19
| Carl Binding
Registered: July 2009
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)
Regarding the facet dependency on v3.0, there is an existing bug for this. See .
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  to see if it addresses all your concerns.
Please post any follow-up questions in the WTP newsgroups .
WTP Web Services
From: Carl Binding <email@example.com>
Date: 07/05/2011 11:25 AM
Subject: [wtp-dev] Eclipse WTP/Indigo/Axis2
Sent by: firstname.lastname@example.org
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.
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,
Powered by FUDForum
. Page generated in 0.02100 seconds