Hello Team,
On scraping a website developed using Google Web Toolkit
technology, I get an error called, "Remote Service Exception". Any Idea about
this error. Code with which I am trying....
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("https://xxx);
request.Method = "POST";
request.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36";
request.Headers["Cookie"] = SessionID;
request.Referer = "xxx";
request.Accept = "*/*";
request.Headers["X-GWT-Permutation"] = "E81756AE355F23274CB68B43D62F0248";
request.Headers["X-GWT-Module-Base"] = "https://xxx";
byte[] buffer =
System.Text.Encoding.ASCII.GetBytes(encodeData("7|0|6|https://xxx"));
//);Stream PostData = request.GetRequestStream();
PostData.Write(buffer, 0, buffer.Length);PostData.Close();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();Stream stream
= response.GetResponseStream();
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.