Search in sources :

Example 16 with PropertyInfo

use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.

the class WebServiceSoap method GetListeDepartement.

public ArrayOfService GetListeDepartement() throws Exception {
    return (ArrayOfService) execute(new IWcfMethod() {

        @Override
        public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
            ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
            SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "GetListeDepartement");
            __envelope.setOutputSoapObject(__soapReq);
            PropertyInfo __info = null;
            return __envelope;
        }

        @Override
        public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
            return (ArrayOfService) getResult(ArrayOfService.class, __result, "GetListeDepartementResult", __envelope);
        }
    }, "http://etsmtl.ca/GetListeDepartement");
}
Also used : ArrayOfService(ca.etsmtl.applets.etsmobile.model.ArrayOfService) SoapObject(org.ksoap2.serialization.SoapObject) PropertyInfo(org.ksoap2.serialization.PropertyInfo)

Example 17 with PropertyInfo

use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.

the class WebServiceSoap method RechercheDate.

public ArrayOfFicheEmployeDate RechercheDate(final String FiltreNom, final String FiltrePrenom, final String FiltreServiceCode) throws Exception {
    return (ArrayOfFicheEmployeDate) execute(new IWcfMethod() {

        @Override
        public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
            ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
            SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "RechercheDate");
            __envelope.setOutputSoapObject(__soapReq);
            PropertyInfo __info = null;
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "FiltreNom";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(FiltreNom);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "FiltrePrenom";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(FiltrePrenom);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "FiltreServiceCode";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(FiltreServiceCode);
            __soapReq.addProperty(__info);
            return __envelope;
        }

        @Override
        public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
            return (ArrayOfFicheEmployeDate) getResult(ArrayOfFicheEmployeDate.class, __result, "RechercheDateResult", __envelope);
        }
    }, "http://etsmtl.ca/RechercheDate");
}
Also used : ArrayOfFicheEmployeDate(ca.etsmtl.applets.etsmobile.model.ArrayOfFicheEmployeDate) SoapObject(org.ksoap2.serialization.SoapObject) PropertyInfo(org.ksoap2.serialization.PropertyInfo)

Example 18 with PropertyInfo

use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.

the class SignetsMobileSoap method listeCoequipiers.

/**
	 * Liste de co��quipiers de l'��tudiant pour le cours-groupe et l'��l��ment
	 * d'��valuation pass��s en param��tre: nom, pr��nom et courriel
	 */
public listeDesCoequipiers listeCoequipiers(final String codeAccesUniversel, final String motPasse, final String pSigle, final String pGroupe, final String pSession, final String pNomElementEval) throws Exception {
    return (listeDesCoequipiers) execute(new IWcfMethod() {

        @Override
        public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
            ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
            SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "listeCoequipiers");
            __envelope.setOutputSoapObject(__soapReq);
            PropertyInfo __info = null;
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "codeAccesUniversel";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(codeAccesUniversel);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "motPasse";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(motPasse);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pSigle";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pSigle);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pGroupe";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pGroupe);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pSession";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pSession);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pNomElementEval";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pNomElementEval);
            __soapReq.addProperty(__info);
            return __envelope;
        }

        @Override
        public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
            return (listeDesCoequipiers) getResult(listeDesCoequipiers.class, __result, "listeCoequipiersResult", __envelope);
        }
    }, "http://etsmtl.ca/listeCoequipiers");
}
Also used : ca.etsmtl.applets.etsmobile.model.listeDesCoequipiers(ca.etsmtl.applets.etsmobile.model.listeDesCoequipiers) SoapObject(org.ksoap2.serialization.SoapObject) PropertyInfo(org.ksoap2.serialization.PropertyInfo)

Example 19 with PropertyInfo

use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.

the class SignetsMobileSoap method lireHoraireDesSeances.

public listeSeances lireHoraireDesSeances(final String codeAccesUniversel, final String motPasse, final String pCoursGroupe, final String pSession, final String pDateDebut, final String pDateFin) throws java.lang.Exception {
    return (listeSeances) execute(new IWcfMethod() {

        @Override
        public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
            return (listeSeances) getResult(listeSeances.class, __result, "lireHoraireDesSeancesResult", __envelope);
        }

        @Override
        public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() throws Exception {
            ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
            SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "lireHoraireDesSeances");
            __envelope.setOutputSoapObject(__soapReq);
            PropertyInfo __info = null;
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "codeAccesUniversel";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(codeAccesUniversel);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "motPasse";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(motPasse);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pCoursGroupe";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pCoursGroupe);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pSession";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pSession);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pDateDebut";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pDateDebut);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "pDateFin";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(pDateFin);
            __soapReq.addProperty(__info);
            return __envelope;
        }
    }, "http://etsmtl.ca/lireHoraireDesSeances");
}
Also used : ca.etsmtl.applets.etsmobile.model.listeSeances(ca.etsmtl.applets.etsmobile.model.listeSeances) SoapObject(org.ksoap2.serialization.SoapObject) PropertyInfo(org.ksoap2.serialization.PropertyInfo)

Example 20 with PropertyInfo

use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.

the class SignetsMobileSoap method listeSessions.

/**
	 * Liste de toutes les sessions o�� l'��tudiant a ��t�� actif �� l'��TS, en
	 * version courte (A2011) et longue (Automne 2011)
	 */
public ListeDeSessions listeSessions(final String codeAccesUniversel, final String motPasse) throws Exception {
    return (ListeDeSessions) execute(new IWcfMethod() {

        @Override
        public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
            ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
            SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "listeSessions");
            __envelope.setOutputSoapObject(__soapReq);
            PropertyInfo __info = null;
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "codeAccesUniversel";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(codeAccesUniversel);
            __soapReq.addProperty(__info);
            __info = new PropertyInfo();
            __info.namespace = "http://etsmtl.ca/";
            __info.name = "motPasse";
            __info.type = PropertyInfo.STRING_CLASS;
            __info.setValue(motPasse);
            __soapReq.addProperty(__info);
            return __envelope;
        }

        @Override
        public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
            return (ListeDeSessions) getResult(ListeDeSessions.class, __result, "listeSessionsResult", __envelope);
        }
    }, "http://etsmtl.ca/listeSessions");
}
Also used : SoapObject(org.ksoap2.serialization.SoapObject) ListeDeSessions(ca.etsmtl.applets.etsmobile.model.ListeDeSessions) PropertyInfo(org.ksoap2.serialization.PropertyInfo)

Aggregations

PropertyInfo (org.ksoap2.serialization.PropertyInfo)23 SoapObject (org.ksoap2.serialization.SoapObject)22 SoapPrimitive (org.ksoap2.serialization.SoapPrimitive)4 ArrayOfFicheEmploye (ca.etsmtl.applets.etsmobile.model.ArrayOfFicheEmploye)2 ListeDeCours (ca.etsmtl.applets.etsmobile.model.ListeDeCours)2 ArrayOfFicheEmployeDate (ca.etsmtl.applets.etsmobile.model.ArrayOfFicheEmployeDate)1 ArrayOfService (ca.etsmtl.applets.etsmobile.model.ArrayOfService)1 Etudiant (ca.etsmtl.applets.etsmobile.model.Etudiant)1 FicheEmploye (ca.etsmtl.applets.etsmobile.model.FicheEmploye)1 ListeDeSessions (ca.etsmtl.applets.etsmobile.model.ListeDeSessions)1 ListeDesElementsEvaluation (ca.etsmtl.applets.etsmobile.model.ListeDesElementsEvaluation)1 ca.etsmtl.applets.etsmobile.model.listeCoursHoraire (ca.etsmtl.applets.etsmobile.model.listeCoursHoraire)1 ca.etsmtl.applets.etsmobile.model.listeDesActivitesEtProf (ca.etsmtl.applets.etsmobile.model.listeDesActivitesEtProf)1 ca.etsmtl.applets.etsmobile.model.listeDesCoequipiers (ca.etsmtl.applets.etsmobile.model.listeDesCoequipiers)1 ca.etsmtl.applets.etsmobile.model.listeDesProgrammes (ca.etsmtl.applets.etsmobile.model.listeDesProgrammes)1 ca.etsmtl.applets.etsmobile.model.listeHoraireExamensFinaux (ca.etsmtl.applets.etsmobile.model.listeHoraireExamensFinaux)1 ca.etsmtl.applets.etsmobile.model.listeJoursRemplaces (ca.etsmtl.applets.etsmobile.model.listeJoursRemplaces)1 ca.etsmtl.applets.etsmobile.model.listeSeances (ca.etsmtl.applets.etsmobile.model.listeSeances)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 Method (java.lang.reflect.Method)1