[Mono-aspnet-list] MemoryStream Web Service Return as Null

waxmidget waxmidget at gmail.com
Thu Jun 14 19:54:05 UTC 2012

We figured out a work around for this. Not sure why Memorystream was causing
issues on the Mac, but streams work perfectly. Here's the code we changed.

       public MemoryStreamGetDeviceConfig(string userName, string password,
long customerId)

       public Stream GetDeviceConfig(string userName, string password, long

Once the web service reference was updated, we got our data with no issues. 

Beware memorystreams on Mac!

Chris Nolan
waxmidget at gmail.com
View this message in context: http://mono.1490590.n4.nabble.com/MemoryStream-Web-Service-Return-as-Null-tp4649921p4649952.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list