I’m using the System.Net.WebResponse object within X++. I’m receiving a CLRObject object not initialized when trying to call the GetResponseStream() method. Here is the code:
System.Net.WebReponse getResponse;
System.IO.Stream readStream;
;
…
readstream = getResponse.GetResponseStream();
Any help would be appreciated.
Thanks