aspose file tools*
The moose likes Web Services and the fly likes Creating a web service with Axis2 built in script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating a web service with Axis2 built in script" Watch "Creating a web service with Axis2 built in script" New topic
Author

Creating a web service with Axis2 built in script

Elias Ta
Greenhorn

Joined: Sep 29, 2008
Posts: 15
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";
}
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a web service with Axis2 built in script