Package village.webservice

Examples of village.webservice.VillageServiceInterfaceProxy


      } else
        System.out.println("[DeAuthentication] Session is invalid");
     
    } else {
      System.out.println("[DeAuthentication] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);


      try {
        iface.logout(sid);
      }
View Full Code Here


      if (result != null)
        result = result + '@' + server;
    }
    else {
      System.out.println("[Validation] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.validateSession(sid);
      }
      catch(Exception cex){
View Full Code Here

        result = this.logon(name, password);
       
      } else
       
        System.out.println("[Authentication] Remote execution.");
        VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
        village.webservice.VillageServiceInterface iface =
          prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

        try {
          result = iface.login(login, password);       
        } catch(Exception cex){
          cex.printStackTrace();
View Full Code Here

   
       
    } else {
       
      System.out.println("[WindowAdder] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.addRoom(sid, apiwindow);       
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

      else;
//        System.out.println("[Executor] Session is valid.");
    } else {
       
//      System.out.println("[Executor] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.doRequest(sid, rid, params);       
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

     
      else
          System.out.println("[DataGetter] Session is invalid.");
    } else {
      System.out.println("[DataGetter] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.getUserData(sid);
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

     
     
    } else {
       
      System.out.println("[DesktopUpdater] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.updateDesktop(sid, windows);       
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

            rooms.add(tmpRoom);
           
          } else {
         
            System.out.println("[RoomsGetter] Remote room, rid = "+rid+".");
            VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
           
            village.webservice.VillageServiceInterface iface =
              prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

            remoteCall[0] = rids[i];
            try {
              remoteResult = iface.getRooms(sid, remoteCall);
            } catch(Exception cex){
View Full Code Here

        System.out.println("[RoomInfoGetter] End of function 'getRoomsInfo'");
      }   
    } else {
       
      System.out.println("[RoomInfoGetter] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.getRoomList(sid);
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

       
    } else {
       
      System.out.println("[WindowRemover] Remote execution.");
      VillageServiceInterfaceProxy prox = new VillageServiceInterfaceProxy();
     
      village.webservice.VillageServiceInterface iface =
        prox.setEndpoint("http://"+server+prox.villagePort+prox.villageSuffix);

      try {
        result = iface.deleteRoom(sid, rid);   
      } catch(Exception cex){
        cex.printStackTrace();
View Full Code Here

TOP

Related Classes of village.webservice.VillageServiceInterfaceProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.