Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package org.scube.gps;
  6.  
  7. import java.rmi.RemoteException;
  8. import org.apache.axis2.AxisFault;
  9.  
  10. /**
  11. *
  12. * @author INM381-User
  13. */
  14. public class newClass {
  15.  
  16. public static void main(String[]args) throws AxisFault, RemoteException {
  17.  
  18. GPSServiceStub g1= new GPSServiceStub();
  19.  
  20. GPSServiceStub.GetLocation g2 = new GPSServiceStub.GetLocation();
  21. g2.setUserId("AABB");
  22. GPSServiceStub.GetLocationResponse g3 = g1.getLocation(g2);
  23. GPSServiceStub.Location g4=g3.get_return();
  24. System.out.println(g4.getName());
  25.  
  26.  
  27. }
  28. // what ?
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement