• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a web service with Axis2 built in script  RSS feed

Elias Ta
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. I downloaded axis2 in C:\axis2 and set AXIS2_HOME environment variable to point to C:\axis2
2. I have JAVA_HOME pointing to my java installation C:\Java_1.4.2

3. I was able to download the samples and run the ant build files that come with them to create the services and C:\axis2\samples\quickstart

My problem is I can't do the same thing on my little class I created and I am getting C:\lib not found when running ant generate.service which looks like some problem with classpathref="axis2.classpath" portion of build.xml

Why would it work on the samples and not with my class? I would appreciate if you could tell me what I need to do ?

My class is a simple as follows

public class TestService {
public String getMessage()
return "Hello Client";
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!