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
13 years 17 weeks ago
13 years 18 weeks ago
13 years 20 weeks ago
13 years 21 weeks ago
13 years 21 weeks ago
13 years 22 weeks ago
13 years 22 weeks ago
13 years 22 weeks ago
13 years 23 weeks ago
13 years 24 weeks ago