Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 03, 2012 11:36 PM by PabloDFT
Apr 03, 2012 11:36 PM|LINK
Hi, please help me with this situation.
I need to reproduce the behavior of this site using asp net:
I've been trying with System.Net.WebClient but I'm not sure about what address should use. Here's an example of the code I'm using in a windows form aplication.
Private Const _url As String = "http://demo2.tourplan.com:8080/iComH2HDemo/servlet/conn"
Private Const _xml As String = "<?xml version=""1.0""?> " & vbCrLf & _
"<!DOCTYPE Request SYSTEM ""hostConnect_2_77_000.dtd""> " & vbCrLf & _
"<Request> " & vbCrLf & _
"<PingRequest/> " & vbCrLf & _
Private WithEvents webclient As WebClient
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
webclient = New WebClient
Dim _address As New Uri(_url)