https://bugzilla.novell.com/show_bug.cgi?id=675144

https://bugzilla.novell.com/show_bug.cgi?id=675144#c2


--- Comment #2 from Atsushi Enomoto <[email protected]> 2011-03-09 12:54:12 
UTC ---
Again, the client repro can be written within 30 lines like this +
Reference.cs, instead of lots of extra files:

using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using WebServiceMoonlightTest.ServiceReference1;

public class tset
{
    public static void Main ()
    {
            var binding = new BasicHttpBinding();
            var remoteAddress = new
EndpointAddress("http://localhost:8100/Service1";);
            var _client = new Service1Client(binding, remoteAddress);
            _client.GetNestedDataCompleted += OnGetNestedDataCompleted;

        for (int i = 0; i < 10; i++)
                    _client.GetNestedDataAsync();
        Console.ReadLine ();
    }

        static void OnGetNestedDataCompleted(object sender,
GetNestedDataCompletedEventArgs e)
        {
        Console.WriteLine ("done: " + e.Error);
    }

}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to