| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 
 |  
             CustomBinding binding = new CustomBinding(
                    new CustomTextMessageBindingElement("iso-8859-1", "text/xml", MessageVersion.Soap11),
                    new HttpTransportBindingElement());
 
            soap_proPortTypeClient test = new soap_proPortTypeClient();
            test.Endpoint.Binding = binding;
 
            CategoriesParamsItems tester = new CategoriesParamsItems();
            tester.cat_niveau = 3;
            tester.cat_lang = "fr";
            tester.cat_canalgay = 0;
            tester.cat_canalfetish = 0;
            tester.cat_canalfemme = 0;
            tester.cat_canaltravesti = 0;
            tester.cat_tri = "ASC";
            CategoriesParamsItems[] listParam = new CategoriesParamsItems[] { tester };
 
            CategoriesItems[] test2 = test.GetTbCategories("login", "secretcode", listParam); | 
Partager