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
14 years 31 weeks ago
14 years 32 weeks ago
14 years 34 weeks ago
14 years 35 weeks ago
14 years 35 weeks ago
14 years 36 weeks ago
14 years 36 weeks ago
14 years 36 weeks ago
14 years 37 weeks ago
14 years 38 weeks ago