1. create server code
2. create client code
first download axis2.war and then apache tomcat webapps directory...
it will deploy automatically... produce axis2 directory
first create the class file...
package arith;
public class arithint
{
public arithint()
{
}
public int add(int i, int j)
{
return i + j;
}
}
F:\tomcat7\webapps\axis2\WEB-INF\services\arith
place the class file inside this arith folder....
F:\tomcat7\webapps\axis2\WEB-INF\services\arith\META-INF
create the meta inf folder inside that add service configuration file..
No comments:
Post a Comment