I have a URL which I need to send a request for to get the XML document. I know you need to send a request with the URL etc but I can't find the correct variable sub types etc. Secondly I need to save this document in a folder, how would you do that.
*This post is locked for comments
.
Made a wrong post
Check Arend-Jan Kauffmann's blog: www.kauffmann.nl/.../web-services-examples-part-1-the-basic-pattern
I have something like this so far..
Request DotNet System.Net.HttpWebRequest.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
IncomeText BigText
NewInstream InStream
Request := Request.HttpWebRequest;
Request := Request.Create(strURL);
Request.UseDefaultCredentials := TRUE;
Request.Method('GET');
Request.ContentType('text/xml');
NewInStream := Request.GetResponse().GetResponseStream();
IncomeText.READ(NewInstream);
How can I save this as an XML document?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156