use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.
the class SignetsMobileSoap method lireJoursRemplaces.
/**
* Liste des jours qui en remplacent d'autres, par exemple, les cours du
* lundi 8 octobre sont donn��s le mercredi 21 novembre.
*/
public listeJoursRemplaces lireJoursRemplaces(final String pSession) throws Exception {
return (listeJoursRemplaces) execute(new IWcfMethod() {
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "lireJoursRemplaces");
__envelope.setOutputSoapObject(__soapReq);
PropertyInfo __info = null;
__info = new PropertyInfo();
__info.namespace = "http://etsmtl.ca/";
__info.name = "pSession";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(pSession);
__soapReq.addProperty(__info);
return __envelope;
}
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
return (listeJoursRemplaces) getResult(listeJoursRemplaces.class, __result, "lireJoursRemplacesResult", __envelope);
}
}, "http://etsmtl.ca/lireJoursRemplaces");
}
use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.
the class SignetsMobileSoap method listeHoraireEtProf.
/**
* Liste de activit��s (cours, TP, Lab, etc) avec leur horaire et leur
* local, ainsi que les enseignants
*/
public listeDesActivitesEtProf listeHoraireEtProf(final String codeAccesUniversel, final String motPasse, final String pSession) throws Exception {
return (listeDesActivitesEtProf) execute(new IWcfMethod() {
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "listeHoraireEtProf");
__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 = "pSession";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(pSession);
__soapReq.addProperty(__info);
return __envelope;
}
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
return (listeDesActivitesEtProf) getResult(listeDesActivitesEtProf.class, __result, "listeHoraireEtProfResult", __envelope);
}
}, "http://etsmtl.ca/listeHoraireEtProf");
}
use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.
the class SignetsMobileSoap method listeElementsEvaluation.
/**
* Liste des ��l��ments d'��valuation (devoirs, labos, examens, etc.) avec
* la note obtenue et les statisques, comme dans SIGNETS
*/
public ListeDesElementsEvaluation listeElementsEvaluation(final String codeAccesUniversel, final String motPasse, final String pSigle, final String pGroupe, final String pSession) throws Exception {
return (ListeDesElementsEvaluation) execute(new IWcfMethod() {
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "listeElementsEvaluation");
__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);
return __envelope;
}
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
return (ListeDesElementsEvaluation) getResult(ListeDesElementsEvaluation.class, __result, "listeElementsEvaluationResult", __envelope);
}
}, "http://etsmtl.ca/listeElementsEvaluation");
}
use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.
the class SignetsMobileSoap method listeHoraireExamensFin.
public listeHoraireExamensFinaux listeHoraireExamensFin(final String codeAccesUniversel, final String motPasse, final String pSession) throws Exception {
return (listeHoraireExamensFinaux) execute(new IWcfMethod() {
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
return (listeHoraireExamensFinaux) getResult(listeHoraireExamensFinaux.class, __result, "listeHoraireExamensFinResult", __envelope);
}
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() throws Exception {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "listeHoraireExamensFin");
__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 = "pSession";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(pSession);
__soapReq.addProperty(__info);
return __envelope;
}
}, "http://etsmtl.ca/listeHoraireExamensFin");
}
use of org.ksoap2.serialization.PropertyInfo in project ETSMobile-Android2 by ApplETS.
the class WebServiceSoap method GetFiche.
public String GetFiche(final String numero, final String PathFiche) throws Exception {
return (String) execute(new IWcfMethod() {
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "GetFiche");
__envelope.setOutputSoapObject(__soapReq);
PropertyInfo __info = null;
__info = new PropertyInfo();
__info.namespace = "http://etsmtl.ca/";
__info.name = "numero";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(numero);
__soapReq.addProperty(__info);
__info = new PropertyInfo();
__info.namespace = "http://etsmtl.ca/";
__info.name = "PathFiche";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(PathFiche);
__soapReq.addProperty(__info);
return __envelope;
}
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
Object obj = __result.getProperty("GetFicheResult");
if (obj != null && obj.getClass().equals(SoapPrimitive.class)) {
SoapPrimitive j = (SoapPrimitive) __result.getProperty("GetFicheResult");
return j.toString();
}
return null;
}
}, "http://etsmtl.ca/GetFiche");
}
Aggregations