Solved

Use VB to request XML return data from a web server

Posted on 2006-10-29
7
194 Views
Last Modified: 2010-04-30

I have a client server that supplies a persons ID in a request to a central server over the internet. Both use classic ASP. The request is sent to a page such as "https://replay.canada.org/rt/PersonInfoXML.asp"

The central server then searches its database and if the ID is found it returns a XML file containg fields such as:  ID, FirstName, LastName etc.

Presently this is being done server to server only, and only by using "ASPTear" by alphasierrapapa.com


I would like to be able to send the request to the webpage and recieve back the XML file just by using a VB6 program.  I could then continue using the data in that VB program.

If it can not be done in VB6 then VB2005 (.net), though the remainder of my old program will then need upgrading by me.(much time NG)

Thanks for any help in this regard,
      UB


0
Comment
Question by:Usherb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 168 total points
ID: 17830073
Have a look at the MSXML libraries (you can download the SDK's from microsoft.com) - this can be done. I am assuming that the XML is simply part of the response stream (and not an actual file) so this quite possible.

You can then either use the DOM (recommened) or write you own parser (seems a little silly)
0
 
LVL 14

Assisted Solution

by:Shiju Sasidharan
Shiju Sasidharan earned 166 total points
ID: 17831706
0
 
LVL 3

Assisted Solution

by:herreruud
herreruud earned 166 total points
ID: 17832237
Hi,

You could go with MSXML directly as proposed above, ore you could use WSDL/SOAP wich are (Platform/language-independant) standards availible for exactly what you are trying to do.

You should start by downloading the Microsoft SOAP toolkit 3.0: http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088-9753-86f052ec8450&displaylang=en

Read the documentation; then tell me if you need help :)
0
 
LVL 29

Expert Comment

by:Nightman
ID: 18025653
Recommend Split - Nightman, shijusn, herreruud
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month7 days, 14 hours left to enroll

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question