[progress Communities] [progress Openedge Abl] Forum Post: Using .net To Get Data From Pasoe

  • Thread starter Thread starter Jeff Ledbetter
  • Start date Start date
Status
Not open for further replies.
J

Jeff Ledbetter

Guest
Hi. After having some luck with curl using something like this: curl -X GET -v http://localhost:16680/oemanager/applications/ -u tomcat:tomcat ..I am now trying to get this same information from the tomcat server in PASOE using .Net. Unfortunately, I am unable to get past the 401 Unauthorized error. Am I way off base? webClient = NEW WebClient(). myUri = NEW Uri("http://wintest"). netCred = NEW NetworkCredential("tomcat", "tomcat"). credCache = NEW CredentialCache(). credCache:Add(myUri, "Basic", netCred). webClient:Credentials = credCache. ASSIGN cURI = " wintest:8810/.../applications" lcString = webClient:DownloadString (cURI). webClient:Dispose() .

Continue reading...
 
Status
Not open for further replies.
Back
Top