Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web service problems
Web service problems [message #155602] Tue, 10 January 2006 09:38 Go to next message
Eclipse UserFriend
Originally posted by: martini.dsi.unifi.it

I'm a newbie of WTP, this is the first time I use it.
Before even knowing of WTP I realized a Java web service using Axis,
using a "manual" procedure (i.e. using Axis tools like Java2WSDL,
WSDL2Java, etc.).
Now I would like to use a more "integrated" approach and WTP seems to be
the right choice. Unfortunately I am not able in using it. I installed
WTP 1.0 correctly and configured a Tomcat 5.5 server following the
appropriate tutorial. Then I tried to follow the tutorial "Creating a
Bottom-Up Java Web Service" but it doesn't work simply importing my
source code. I mean, the wizard ends without errors, but when I test the
web service it returns a NullPointerException. I am sure the web service
logic is fine, cause the code is exactly the same of my "manual"
realization, and with the client I realized before of WTP everything works.
I suspect the error is somewhat related to the use of an external
library I need. I configured the build path of the project, but it
doesn't seems to be enough. I also tried to copy the library in the
WebContent/WEB-INF/lib subdir of the project, but it still doesn't work.
Moreover I am not able to debug anything but the automatically generated
jsp client.

Anyone can help me? I really am interested in using WTP and I would like
to learn using it.
Re: Web service problems [message #156890 is a reply to message #155602] Tue, 17 January 2006 08:58 Go to previous message
Eclipse UserFriend
Originally posted by: martini.dsi.unifi.it

Tommaso Martini ha scritto:
> I'm a newbie of WTP, this is the first time I use it.
> Before even knowing of WTP I realized a Java web service using Axis,
> using a "manual" procedure (i.e. using Axis tools like Java2WSDL,
> WSDL2Java, etc.).
> Now I would like to use a more "integrated" approach and WTP seems to be
> the right choice. Unfortunately I am not able in using it. I installed
> WTP 1.0 correctly and configured a Tomcat 5.5 server following the
> appropriate tutorial. Then I tried to follow the tutorial "Creating a
> Bottom-Up Java Web Service" but it doesn't work simply importing my
> source code. I mean, the wizard ends without errors, but when I test the
> web service it returns a NullPointerException. I am sure the web service
> logic is fine, cause the code is exactly the same of my "manual"
> realization, and with the client I realized before of WTP everything works.
> I suspect the error is somewhat related to the use of an external
> library I need. I configured the build path of the project, but it
> doesn't seems to be enough. I also tried to copy the library in the
> WebContent/WEB-INF/lib subdir of the project, but it still doesn't work.
> Moreover I am not able to debug anything but the automatically generated
> jsp client.
>
> Anyone can help me? I really am interested in using WTP and I would like
> to learn using it.

Really no one can help me or at least direct me to somewhere to look for?
Previous Topic:breaking wtp into reusable features
Next Topic:tcp monitoring of all hosts
Goto Forum:
  


Current Time: Fri Apr 19 17:07:57 GMT 2024

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

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

Back to the top