KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > qname > MyServiceImpl


1 package test.wsdl.qname;
2
3 import java.rmi.RemoteException JavaDoc;
4
5 public class MyServiceImpl implements MyServiceInterface {
6   public MyServiceImpl() {
7   }
8
9   public String JavaDoc Hello(String JavaDoc pName) throws java.rmi.RemoteException JavaDoc {
10     return "Hello, " + pName;
11   }
12
13   public String JavaDoc HelloAgain(int pName) throws java.rmi.RemoteException JavaDoc {
14     return "Hello Again, " + Integer.toString(pName);
15   }
16
17 }
Popular Tags