G
Guest
I have the following code where I call my web service in my asp.net (version)
application.
Dim strResult As String
Dim url As String
url = "http://localhost/myservice/test"
xmlRequest = Server.CreateObject("MSXML2.XMLHTTP")
xmlRequest.Open("post", url, False)
xmlRequest.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded")
xmlRequest.setRequestHeader("charset", "utf-8")
xmlRequest.setRequestHeader("Content-Length",
CStr(Len(TextBox1.Text)))
xmlRequest.Send("order=" + TextBox1.Text)
xmlRequest.send()
strResult = xmlRequest.responseText.ToString
TextBox2.Text = strResult
xmlRequest = Nothing
Everything works well as long as the content of my textbox1 is less than 8k
in size (8968 is the maximum that my webservice is receving).
Is that a limitation of MSXML2.XMLHTTP?? Is there a workaround?
Many thanks in advance.
Shahriar
application.
Dim strResult As String
Dim url As String
url = "http://localhost/myservice/test"
xmlRequest = Server.CreateObject("MSXML2.XMLHTTP")
xmlRequest.Open("post", url, False)
xmlRequest.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded")
xmlRequest.setRequestHeader("charset", "utf-8")
xmlRequest.setRequestHeader("Content-Length",
CStr(Len(TextBox1.Text)))
xmlRequest.Send("order=" + TextBox1.Text)
xmlRequest.send()
strResult = xmlRequest.responseText.ToString
TextBox2.Text = strResult
xmlRequest = Nothing
Everything works well as long as the content of my textbox1 is less than 8k
in size (8968 is the maximum that my webservice is receving).
Is that a limitation of MSXML2.XMLHTTP?? Is there a workaround?
Many thanks in advance.
Shahriar