当前位置: 代码迷 >> Web前端 >> axis 服务器端例证
  详细解决方案

axis 服务器端例证

热度:93   发布时间:2012-08-24 10:00:21.0
axis 服务器端例子
1. java code in server


package com.google.test;

public class SayHello {
	
	public String getName(String name)
    {
        return "hello "+name;
       
    }
	
	
}


2. generate service *.aar

Eclipse--New--other---axis2---Axis2 Service Archiver,

3. copy my_service.aar to C:\tomcat6\webapps\axis2\WEB-INF\services

4. restart tomcat , go to

http://localhost:8080/axis2/services/listServices
  相关解决方案