Esempio n. 1
0
        private void CollectionMethod()
        {
            GeneratedContractsAsmx.CollectionsRequest data = new GeneratedContractsAsmx.CollectionsRequest();
            data.ArrayList = new object[2];
            int temp0 = 1;

            data.ArrayList[0] = temp0;
            string temp1 = "hello";

            data.ArrayList[1]                           = temp1;
            data.IntList                                = new int[3];
            data.IntList[0]                             = 0;
            data.IntList[1]                             = 1;
            data.IntList[2]                             = 2;
            data.RequestList                            = new GeneratedContractsAsmx.SimpleAsmxRequest[1];
            data.RequestList[0]                         = new GeneratedContractsAsmx.SimpleAsmxRequest();
            data.RequestList[0].B                       = null;
            data.RequestList[0].Optional                = 0;
            data.RequestList[0].OptionalSpecified       = false;
            data.RequestList[0].A                       = 0;
            data.RequestCollection                      = new GeneratedContractsAsmx.SimpleAsmxRequest[1];
            data.RequestCollection[0]                   = new GeneratedContractsAsmx.SimpleAsmxRequest();
            data.RequestCollection[0].B                 = null;
            data.RequestCollection[0].Optional          = 0;
            data.RequestCollection[0].OptionalSpecified = false;
            data.RequestCollection[0].A                 = 0;
            data.NonGenericEnumerableOnlyCollection     = new object[2];
            string temp2 = "hello";

            data.NonGenericEnumerableOnlyCollection[0] = temp2;
            int temp3 = 1;

            data.NonGenericEnumerableOnlyCollection[1] = temp3;
            this.CustomiseCollectionMethod(data);
            _testContext.BeginTimer("GeneratedAsmxSampleTest_CollectionMethod");
            try
            {
                testAsmxServiceSoapClient.CollectionMethod(data);
            }
            finally
            {
                _testContext.EndTimer("GeneratedAsmxSampleTest_CollectionMethod");
            }
        }
Esempio n. 2
0
 private void CustomiseCollectionMethod(GeneratedContractsAsmx.CollectionsRequest data)
 {
 }