473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

POST something from VB to an ASP page, save the returned results

Hello,

The entire process that we are trying to get is:
- using a VB program, POST an XML file to an ASP page on a server (this works)
Set lobjXMLDoc = New MSXML2.DOMDocument40
lobjXMLDoc.Load (psXMLFileName)

Set lobjSrvHttp = New MSXML2.ServerXMLHTTP40
Call lobjSrvHttp.open("POST", UploadURL, False)
Call lobjSrvHttp.send(lobjXMLDoc)

- Process this XML file and create an string/XML file that gets returned to the user (this works). The result that we want to return is in a string called XMLFile, or alternately in a DOMDocument:
set objxmldoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
objXMLDoc.async = False
objXMLDoc.loadXML XMLFile

- Send the XML file/string back to the user's VB client. I have no idea what the ASP codes are supposed to be, stuff like:
Response.ContentType = "text/xml"
Response.write XMLFile

do not work. On the VB side, we are trying to capture the result using:
Set lobjXMLDoc2 = New MSXML2.DOMDocument40
Set lobjXMLDoc2 = lobjSrvHttp.responseXML
Text1.Text = lobjXMLDoc2.Text

Nothing gets passed back to the client. I can save either XMLFile or objXMLDoc.XML and both contain the information we need. But we can't figure out how to pass it back to the client side.

Any help? We have already exhausted any resources we could find over days of searching books/sites. Thank you,

Richard
Sep 12 '05 #1
0 2267

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kevin Blount | last post by:
I love Google groups, you can find answers to ALL your questions here.. right? :) I'm building a search script in ASP (not progressed to ASP.NET just yet) and everything works. The problem I was...
8
by: Bill Tschumy | last post by:
First let me state upfront that I'm a Java programmer, not a web developer. Consequently I may be flying a bit wild here... I have scoured the web and usenet for solutions on how to communicate...
2
by: laredotornado | last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to have my Javascript function execute from the BODY's "onload" method, but if there is already an onload method defined, I would...
49
by: Lauren Wilson | last post by:
Hi folks, Just wondered if, for the sake of clarity, it is permissible to post small image files of an error box along with a text message about a problem with Access?
4
by: James Johnson | last post by:
Dear C#Dex, I am trying to automate a POST to a web page that clicks a button. I have been able to hit a target web page and run the web page. However, the button on the page does not click. ...
7
by: morrisdn13 | last post by:
I have encountered a very strange problem that makes it look like the page is not recreated in entirety after a postback when I turn on smartnavigation. If I click on a server control, the page...
13
by: trpost | last post by:
I am looking for a way to send data from one page to another as POST data without using forms or cURL. I have a php script that is passing a list of cases from on page to another when a link is...
2
scubak1w1
by: scubak1w1 | last post by:
Hello, I have a page <foo_query_select.php> where some users set some parameters from pulldowns on a page (in a form.) Based on the user selection, the code builds some SQL (i.e., building the...
8
by: mandanarchi | last post by:
<?php $td_sku="1088963"; //Following the XML data $xmldata="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r <OnlineCheck>\r <Header>\r <BuyerAccountId>----------</BuyerAccountId>\r...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.