Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Eclipse WTP/Indigo/Axis2


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] https://bugs.eclipse.org/bugs/show_bug.cgi?id=341526
[2] http://wiki.eclipse.org/Creating_a_bottom-up_Axis2_Web_service
[3] http://www.eclipse.org/forums/index.php/f/88/

Regards,
Keith Chong
WTP Web Services




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





Greetings,

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
documentation.

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
http://localhost:8080/ws3test/services/AreaService?wsdl.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR:
http://localhost:8080/ws3test/services/AreaService?wsdl



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
Axis2?

Thanks for any advice,
Carl





_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top