Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 21054, ASP.NET Web Services Example(s)

by Zarko Gajic Email: Anonymous

An example of web service development with Octane. 1) SMTP send mail, 2) Get data from DB, 3) File system operations.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 8.0  to 8.0 591 downloads
Copyright: No significant restrictions

Size: 82,906 bytes
Updated on Mon, 15 Dec 2003 12:07:47 GMT
Originally uploaded on Fri, 07 Nov 2003 15:18:54 GMT
SHA1 Hash: E6C5B26A16FCCA86B3FAE888113ED6CE892E222A
MD5 Hash: 4A0D281479AAE3436F93D8D64608A644

    Explore the files in this upload

This example includes 3 web services

1. WSSendMail.asmx
- exposes one method "SendMail"
- SendMail allows you to send an email over the Internet.

2. WSDbData.asmx
- exposes method GetNewExamples: returns the DataSet object.
- GetNewExamples returns CodeCentral's new Delphi 8 for .NET examples stored in the sample Octane Web Portal examples database. Octane example ID: 21033 (
- GetNewExamples takes one parameter, "Count" - the number of new additions to retrieve

3. WSFileOperations.asmx
- exposes two methods: GetFiles(InFolder , Filter : string) and DeleteFile(FullFileName : string)
a) GetFiles returns an arraylist object. Each object in the list is of the TShellObjectInfo type holding info on files contained in the InFolder directory on a web server, Filter is search string to match against the names of files in InFolder path.
This method uses the XMLInclude attribute.
TShellObjectInfo = class
Name : string;
Size : integer;
FileExtension : string;
LastWriteTime : DateTime;
b) DeleteFile deletes a file on a web server. Returns False on any kind of failure, true otherwise (file deleted)

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04