HOME | J2ME | Struts | AJAX | SOAP | SOA MEDIA STREAMING AXIS |
AXIS STEP BY STEP
Web Services
Axis Introduction
Installations
Hello World
Using Eclipse
POJO Service
POJO Client
AXIOM Service
AXIOM Client

 

 

Configuring Eclipse for running AXIS Hello World

Back | Tutorial Home | Next

This section teaches you about configuring a hello world example in your eclipse.

  • Go to File > New > Project
  • In the pop up window select “Java project from existing ant build file” as shown in the below picture.

  • Click “Next” button to get following screen. Select the build file and select the check box “Link to the build file in the file system. Click “Finish”.

A new project with name AxisHelloService will be created in the eclipse

Compiling with ant build file

Right click on ant build of the AxisHelloService project and select Run as ant build.

You should get following lines in the eclipse console

Buildfile: E:\axis\axis2-1.4.1\samples\helloworld\build.xml
compile.service:
generate.service:
[copy] Copying 1 file to E:\axis\axis2-1.4.1\samples\helloworld\build\classes
[jar] Building jar: E:\axis\axis2-1.4.1\samples\helloworld\build\HelloWorldService.aar
BUILD SUCCESSFUL
Total time: 892 milliseconds

Copy HelloWorldService.aar to services folder of axis in Tomcat and execute the HelloWorldService at URL

http://localhost:8080/axis2/services/HelloWorldService/getHello?username=Tom

Back | Tutorial Home | Next

site comments powered by Disqus
Download our free toolbar

toolbar powered by Conduit

| Copyright © 2009. All rights reserved | Terms and Conditions | About | Contact | Feed Back |