Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 16th, 2003, 10:00 AM
Authorized User
Join Date: Jul 2003
Location: , New Jersey, .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Receiving XML Transmit

I have code to transmit an XML file to a Secure Socket Layer.
************************************************** ********
  Dim objSrvHTTP

  Set objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
  objSrvHTTP.open "POST", "https://wwwcie.ups.com/ups.app/xml/Rate",false
  objSrvHTTP.SetRequestHeader "Content-Type","application/x-www-form-urlencoded"
  objSrvHTTP.send (strMessage)
  strResponseMessage = objSrvHTTP.responseText
  intHTTPStatusCode = objSrvHTTP.status
************************************************** ***********
Now I would like to know how you can receive a transmitted XML file, create an HTTP status code, send back the HTTP status code to the sender, and write the received file to a directory.

I essentially know how to write a file to a directory but I need the initial steps for the receiver.

Thanks for any help you can offer.


Reply With Quote
  #2 (permalink)  
Old July 16th, 2003, 03:23 PM
Friend of Wrox
Join Date: Jun 2003
Location: Wien, Wien, Austria.
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to NotNowJohn

Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async = False
Set xmlDocErr =  xmlDoc.parseError 
'check if incoming XML is parsed successfuly
If (xmlDocErr.errorCode <>  0) Then
    'display arror message or whatever
    'process XML document
End If
...but the Soon is eclipsed by the Moon
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving MSMQ Messages obrienkev C# 0 August 25th, 2008 05:17 AM
Receiving mail rajanikrishna Classic ASP Basics 11 November 24th, 2004 05:06 AM
Variable Value fails to transmit jefferis Beginning PHP 6 September 2nd, 2004 08:31 AM
Finding , Locatin and Receiving data with XML. betzy XML 2 May 25th, 2004 07:45 AM

All times are GMT -4. The time now is 07:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.