Wednesday, February 10, 2010

Eclipse WTP Axis2 Web Service Tutorial Hints

I have attempted to follow this Axis2 Tutorial and it has been painful.  I will attempt to ease other’s pain by providing the mistakes that I made to prevent others from making the same…

When I got this error:

ClassDefNotFoundException org.apache.http.HttpResponseFactory

It was because I was using Axis2 ver 1.5.1.  When I switched to 1.4.1 it was gone.

The tutorial says that opening http://localhost:8080/MyProject should display the Axis2 start page, but I found another Axis2 tutorial that said there was a bug and you actually needed to use:

http://localhost:8080/MyProject/axis2-web/index.jsp

 

1 comment:

Unknown said...

Hey you know, your post really helped me a lot. Thank you very much!