Search in sources :

Example 1 with ArrayOfFicheEmployeDate

use of ca.etsmtl.applets.etsmobile.model.ArrayOfFicheEmployeDate 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)

Aggregations

ArrayOfFicheEmployeDate (ca.etsmtl.applets.etsmobile.model.ArrayOfFicheEmployeDate)1 PropertyInfo (org.ksoap2.serialization.PropertyInfo)1 SoapObject (org.ksoap2.serialization.SoapObject)1