Hello,
if I understand correct, after creating your two classes, just make a new Java class to utilize your stub. For example in our case:
package pkg;
import java.rmi.RemoteException;
public class ResourceTestclient {
/**
* @param args
* @throws RemoteException
*/
public static void main(String[] args) throws RemoteException {
MyServiceStub stub = new MyServiceStub();
MyServiceStub.GetStatusResponse res = stub.getStatus();
System.out.println("My response: "+res.get_return());
}
}
Recent comments
12 years 7 weeks ago
12 years 8 weeks ago
12 years 9 weeks ago
12 years 11 weeks ago
12 years 11 weeks ago
12 years 12 weeks ago
12 years 12 weeks ago
12 years 12 weeks ago
12 years 13 weeks ago
12 years 14 weeks ago