Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Next step in my problem(re: earlier post Dynamic URL)

Status
Not open for further replies.

ziggy00001

Programmer
Mar 11, 2002
17
0
0
CA
Now that I am able to submit my request to the appropriate URL, I have no idea how to take the information that is returned and INSERT it into a db.

This is an example of what would be returned....
Code:
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
  <RESULTS>
    <INFO>
      <VERSION>1.6</VERSION>
      <STATUS>OK</STATUS>
      <SEARCH_ID>53453299</SEARCH_ID>
      <SEARCH_TYPE>Find_Person</SEARCH_TYPE>
      <COUNT>2</COUNT>
    </INFO>
      <LISTING>
        <NAME>
          <FIRST>Dan</FIRST> 
          <LAST>Austin</LAST> 
        </NAME>
        <ADDRESS>
          <NUM>1440</NUM> 
          <STREET>11 Ave</STREET> 
          <CITY>Longview</CITY> 
          <STATE>PA</STATE> 
          <ZIP>98632</ZIP> 
        </ADDRESS>
        <PHONE>5551234567</PHONE>
        <LATITUDE>46.139546</LATITUDE>
        <LONGITUDE>-122.942446</LONGITUDE>
      </LISTING>
  </RESULTS>

As you can see it returns a standard HTTP response with XML formatted data.

If anybody has worked with this type of setup and has a input that would be greatly appreciated.
 

You would need to use a server-side language to do this, so maybe ASP (in VB), ASP (in JS), PHP, JSP, CFM, CGI, etc.

Does your ISP / hosting company offer any server-side languages?

Dan
 
The thing is this is a client side application.
The HTML page is run from inside a POS application.
I am writing an integration module that sends requests to the URL in order to find new customer data.
The URL then returns the sample code that is automatically populated to the db.

Because I am using an <object> that can only be run from inside the POS application it has to be run from the clients machine.

Any ideas as to how I can pull this off?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top