SunQuest
 
           Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old October 22nd, 2002, 10:41 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Article Discussion: HTTP Tunneling Revealed: Part 2/3

HTTP Tunneling Revealed: Part 2\/3 If you have any questions or comments about this article then please post them here.

You can read the article here .

Reply With Quote
  #2  
Old October 29th, 2002, 11:07 PM
valkyrie_vf08 valkyrie_vf08 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Kuala Lumpur, MALAYSIA
Posts: 2 valkyrie_vf08 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi!

I enjoyed the article a lot but I do have a question to ask regarding the techniques discussed in the articles.

I am currently working with the MS SOAP Toolkit 3.0 to use the ServerXMLHTTP object to post the SOAP message generated to a remote server from an ASP.NET page.

On the remote server, the ASP.NET page would receive the SOAP message and perform some processing. This page uses the StreamReader object to read the incoming SOAP message from the Request.InputStream. This is done in the Page_Load() method of the ASP.NET page.

My question is, is this compatible? I am experiencing a HTTP 500 error whenever I post the SOAP message. After some debugging, I realize that the stream does not receive anything at all.

The following code snippet is from the ASP.NET page that posts the SOAP message:

[vbcode]
dim oXMLHttp

oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
oXMLHttp.open("POST", someURI, false)
oXMLHttp.setrequestheader("Host", someHost)
oXMLHttp.setrequestheader("Content-type", "text/xml; charset=utf-8")
oXMLHttp.send(strXML)
[/vbcode]

The following code snippet is from the receipent ASP.NET:
[vbcode]
dim oStrmRdr as New IO.StreamReader(Request.InputStream)
dim strRead as String = oStrmRdr.ReadToEnd()
oStrmRdr.close()

'Save the XML
dim oXMLDoc as New XmlDocument()
oXMLDoc.LoadXml(strRead)
oXMLDoc.Save("get.xml")
[/vbcode]

Any help is appreciated...

Thanks in advance...

Reply With Quote
  #3  
Old October 29th, 2002, 11:11 PM
valkyrie_vf08 valkyrie_vf08 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Kuala Lumpur, MALAYSIA
Posts: 2 valkyrie_vf08 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi!

I enjoyed the article a lot but I do have a question to ask regarding the techniques discussed in the articles.

I am currently working with the MS SOAP Toolkit 3.0 to use the ServerXMLHTTP object to post the SOAP message generated to a remote server from an ASP.NET page.

On the remote server, the ASP.NET page would receive the SOAP message and perform some processing. This page uses the StreamReader object to read the incoming SOAP message from the Request.InputStream. This is done in the Page_Load() method of the ASP.NET page.

My question is, is this compatible? I am experiencing a HTTP 500 error whenever I post the SOAP message. After some debugging, I realize that the stream does not receive anything at all.

The following code snippet is from the ASP.NET page that posts the SOAP message:
Code:
dim oXMLHttp

oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
oXMLHttp.open("POST", someURI, false)
oXMLHttp.setrequestheader("Host", someHost)
oXMLHttp.setrequestheader("Content-type", "text/xml; charset=utf-8")
oXMLHttp.send(strXML)


The following code snippet is from the receipent ASP.NET:

Code:
dim oStrmRdr as New IO.StreamReader(Request.InputStream)
dim strRead as String = oStrmRdr.ReadToEnd()
oStrmRdr.close()

'Save the XML
dim oXMLDoc as New XmlDocument()
oXMLDoc.LoadXml(strRead)
oXMLDoc.Save("get.xml")


Any help is appreciated...

Thanks in advance...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Article Discussion: HTTP Tunneling Revealed: Part 2/3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway