Andriod eclipse开发

package com.pipe.webservice;

import com.pipe.bean.User;


public class PipeService {
	/**
	 * in/out String
	 * @param name
	 * @return
	 */
	public String sayHello(String name) {
		return name + " say: hello";
	}
		
	/**
	 * in/out javabean
	 * @return
	 */
	public User getUser(String userName) {
		User user = new User();
		user.setName(userName);		


return user; } }
posted on 2011-10-20 13:47  SamLove  阅读(250)  评论(0编辑  收藏  举报