Advertisement
gilmarpalega

Untitled

Feb 24th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.69 KB | None | 0 0
  1. public class Ipasgo2 {
  2.  
  3.     public static void main(String[] args) {
  4.  
  5.        
  6.         SessionFacadeUsuarioBeanWSService service = new SessionFacadeUsuarioBeanWSService();
  7.         SessionFacadeUsuarioBeanWS proxy = service.getSessionFacadeUsuarioBeanWSPort();
  8.        
  9.         List<UsuarioWS> r;
  10.         try {
  11.             r = proxy.pesquisarPorCPF("0001", "123456", "00000000100", 000, "08/2014", "01000001000");
  12.  
  13.             System.out.println(r.get(0).getSituacao());
  14.             System.out.println(r.get(0).getMsgRetorno());
  15.  
  16.        
  17.         } catch (IpasgoServiceFalha ex) {
  18.             Logger.getLogger(Ipasgo2.class.getName()).log(Level.SEVERE, null, ex);
  19.         }
  20.  
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement