View Christos Tranoris's profile on LinkedIn


Visit The Model Driven Software Network

Who's online

There are currently 0 users and 0 guests online.

Recent comments

Syndicate

Syndicate content

tranoris | June 9, 2009 - 17:21

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());
 }
}

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.