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");
}
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");
}
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");
}
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");
}
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");
}
Aggregations