http://bugzilla.novell.com/show_bug.cgi?id=616131

http://bugzilla.novell.com/show_bug.cgi?id=616131#c2


--- Comment #2 from John Koerner <[email protected]> 2010-06-22 
02:17:25 UTC ---
Created an attachment (id=370648)
 --> (http://bugzilla.novell.com/attachment.cgi?id=370648)
VS 2008 - Windows Web Service That is called from the app.

The attached file is a complete project that can be compiled.  The meat of the
code is simply:

    public class Service1 : System.Web.Services.WebService
    {

        [WebMethod]
        public FileData GetData()
        {
            System.Net.WebClient wc = new System.Net.WebClient();
            FileData fd = new FileData();
            fd.data =
wc.DownloadData(@"http://www.irs.gov/pub/irs-pdf/fw4.pdf";);
            fd.description = "IRS File";
            return fd;
        }
    }

    public class FileData
    {
        public byte[] data;
        public string description;
    }

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

Reply via email to