Package webservice

Examples of webservice.ServicioContactoStub$ContactoVO$Factory


                    "Last Name:" + contact.getLastname());
       
       //MANEJO ERROR EN CASO DE CAERSE LA CONEXION CON EL COMPONENTE DE SERVICIO
        try {
         
          ServicioContactoStub oStub = new ServicioContactoStub();
        // AGREGA
        ContactoVO oContactoVO = new ContactoVO();
        oContactoVO.setNombre(contact.getFirstname());
        oContactoVO.setApellido(contact.getLastname());
        oContactoVO.setMail(contact.getEmail());
        oContactoVO.setTelefono(contact.getTelephone());
       
        AgregarContacto oAgregarContacto = new AgregarContacto();
        oAgregarContacto.setOContactoVO(oContactoVO);
        AgregarContactoResponse objResponse = oStub.agregarContacto(oAgregarContacto);
        String mensaje = objResponse.get_return();

            System.out.println(mensaje);
        return new ModelAndView("saludo", "message", mensaje);
    } catch (RemoteException e) {
View Full Code Here


         
       ContactForm contactForm = new ContactForm();
        
         try {

         ServicioContactoStub oStub = new ServicioContactoStub();
           MostrarContacto oMostrarContacto = new MostrarContacto();
        
         MostrarContactoResponse objResponde =  oStub.mostrarContacto(oMostrarContacto);
         ContactoVO[] contacts2= objResponde.get_return();
        
       contactForm.setContacts(contacts2);
           return new ModelAndView("showcontactrow" , "contactForm", contactForm);
          
View Full Code Here

TOP

Related Classes of webservice.ServicioContactoStub$ContactoVO$Factory

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.