thanks for the reply. i've been to these articles before and havn't really helped me.
can anyone write the script to consume the service for me or get me started? would be greatly appreciated.
Main Topics
Browse All TopicsNeed help to do the following:
1. setup a classic asp page script to retrieve data from a web service (see web service info below)
2. This asp page retrieving the data should save this data into a MS SQL database.
3. The data to be retrieved is real estate information i.e. Properties for sale
We need to setup this page to retrieve data from the webservice. Havnt done this before so clueless at the moment. We only need a few fields to write to the SQL Database i.e. PropertyTille, Description, Price, Rooms, Location, Bathrooms and Images.
Web Service info:
Web service URL: http://www.tng.co.za/GolfF
Service Description: http://www.tng.co.za/GolfF
The following functions are exposed:
GetAllListings(string username, string password)
GetAllListings takes a username and password as parameters. The function then returns all golf listings.
GetUpdatedListings(string username, string password, int daysBack)
GetUpdatedListings takes a username and password as paramaters as well as in integer field indicating the amount of days back to check for updates. The function returns the same values as the GetAllListings method but the query is structured differently. Only listings with a new or modified date that falls within the amount of days specified will be returned.
GetAllImages(string username, string password)
GetAllImages takes a username and password as parameters. It then returns the paths to all images associated with golf property listings. This function does not return the actual image, but rather a URL that can be fed into a browser which will then retrieve the image from Property24.com servers.
GetUpdatedImages(string username, string password, int daysBack)
GetUpdatedImages takes an username and password as parameters. It also takes an integer number indicating the amount of days back to search for images. All image paths that have a modified date within the specified time will be returned. This function does not return the actual image, but rather a URL that can be fed into a browser which will then retrieve the image from Property24.com servers. Please note that the modified states of images and listings are separate. This implies that if a listing has been modified, it does not necessarily mean any associated images have entered a modified state. Only when the image set for a listing has been appended or completely reloaded will those images that have been changed be flagged as modified.
The web services were designed with the following usage in mind.
The GetAll functions should be used whenever the need arises to populate a database from scratch. This could be due to a catastrophic failure or simply the need to get a new, fresh database started.
The GetUpdated functions should then be used every couple of days to ensure that the client database is in synch with the TNG database. If too much time has elapsed between calls to a GetUpdated function, the need may arise to retrieve all active listings via a call to a GetAll function
A note on updated images vs. updated listings.
The modified status of listings and images are separate. This implies that if a listing was modified, its images may not have entered a modified state. Therefore, while a call to GetUpdatedListings will return the modified listing, a similar call to GetUpdatedImages may not return the images associated with that listing. Since you have retrieved these images with the initial call to GetAllImages, they are already in your database.
The only times an image enters a modified state, is either when new images are added, or a total renewal of all images was performed
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Do you have something as a start and need help with just a part of it? From the way the question was asked it seems you are actually looking for it all to be done for you. Classic ASP doesn't make this easy and those steps would involve quite a bit of time.
If you can narrow down the question and are working to make all this yourself then let us know those details and clarify what your question is here. You can always open new questions for other issues, if you have them, as you work on the project. If this will be more than you want to make yourself then you should consider hiring a developer to do this for you. It would be beyond the scope of an EE question I am afraid.
bol
aye b0l...
EE is made for "how come this does this?" or "i tried this, but zed doesn't work right"
not for "I need this done for me..."
Stilgar gave you some great example above try them out, and if they don't work, post the code and the error(s) that are happenning and we'll help.
I'll give you some pointers....
You need to create a SOAP envelope, then pass it to the server via XMLHttp. From that you can execute whatever you need to get whatever data you need
Business Accounts
Answer for Membership
by: _Stilgar_Posted on 2009-06-03 at 02:50:45ID: 24534677
To consume a web-service from ASP classic (note the different approaches):
ic.com.com /5100-1087 8_11- 56436 03.html# Tutorial/9 9CA4563-FB D4-411F-A9 C6- FF9E8A0 E664F.dcik .com/forum s/t76035-c alling-a-n et- web-ser vice-from- classic-as p.html
http://articles.techrepubl
http://www.aspnextgen.com/
http://www.velocityreviews
Then, with the gathered data, you can do whatever you want, including calling an "INSERT INTO" SQL statement to get it into MsSQL data table.