读书人

axis 服务器端例证

发布时间: 2012-08-24 10:00:21 作者: rapoo

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

读书人网 >Web前端

热点推荐