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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Receive XML Data, Run ASP Script on IIS

Status
Not open for further replies.

DennisTheMenace

IS-IT--Management
Jul 25, 2001
113
US
I know ASP, SQL and VB Script very well... but have never done anything with ASP receiving XML Data. Here is the scenerio:

I have a software vendor that can send me data via XML to my IIS.

On my IIS I have an existing ASP script that has:
CustID = request("C")
OrderID = request("O")

The script then looks up the customer's e-mail address, and e-mails the cust his order number via CDONTS.

Can we (and how?) have the IIS receive data from a program via XML, process a script, and display nothing (meaning there is no browser, no user, no nothing... just an {get_XMLHttpFormPost} command from the software with tags for the customer and order)

I've browsed the many links about XML tutorials, but don't see anything similar to my scenario. Most refer to formatting and displaying.

Should I be posting this in the ASP Forum?

Thanks in advance!
-Dennis



=====================
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)
 
Are you talking about web services here? How is the XML sent?
 
A proprietary software package includes a secondary process. XML commands are available in that secondary process.

I wanted to have the Cust id and Order id sent to my IIS server and execute a server side script.

=====================
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)
 
What do you mean by XML commands are available? Is this local software or does it reside on a different server?
 
>>What do you mean by XML commands are available?
The software can execute Secondary Processes including XML.

>>Is this local software or does it reside on a different server?
Resides on a different server.

=====================
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)
 
Let me try to get this straight! You cannot send something using Xml. You can send xml Data. Xml is just a certain way of structuring your data. Thats it! Xml cannot do anything! Its not some way of transport!

So what you want is for example create an ASP.NET WebService. That Web Service receives data (structured according to xml)

like that:
[PseudoCode]
[WebService]
public void myWebService (XmlDocument myDocument)
{
string id = myDocument.selectSingleNode("//id").innerText
}
[/PseudoCode]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top