[Mono-bugs] [Bug 616131] SIGSEGV when downloading data from web services into UIWebView
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jun 21 22:17:27 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=616131
http://bugzilla.novell.com/show_bug.cgi?id=616131#c2
--- Comment #2 from John Koerner <stratfordholdings at riddlepop.com> 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.
More information about the mono-bugs
mailing list