Inclusion of big messages in Tamino

I accomplish an inclusion through a form HTML sending for a program in ASP to accomplish _PROCESS
in Tamino, if the sent text goes very big, I receive the following message.

Technical information (for the support team)

Mistake type:
/ curriculo/alteraCurriculo.asp, line 18

Navigator type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

POST 7090 bytes to / curriculo/alteraCurriculo.asp

POST Dates:
localDisponibilidade=Rio+de+Janeiro%2C+Estado&objetivoCargoDesejado=Gerente+de+Projetos&resumoProfissional=Desenvolvimento+. . .

Thursday, November 21, 2002, 14:00:37
Obs.: the line 18 is in bold:
set xmlHttp = CreateObject (“Microsoft.XMLHTTP”) “PUT”, "http://tamino/tamino/curriculo/info?_process = " + to alter, false
xmlHTTP.setRequestHeader “ContentType”, “text/xml”

The method=POST of the html doesn’t have size limitation, when I execute a response.write in the program alteraCurrioculo.asp of
the variable to alter all of the fields they are filled out correctly, with the altered content and with a great volume of data.

I think it is the property of the DOM that no it accepts.
What to do?

At once I thank.

I’m not sure whether you want to do a PUT or a POST - I assume a POST from what you say. Your code appears to do a PUT. Here’s a small example of an asp page that does a POST that may help. I would stress that I agree completely with Stuart Fyffe-Collins previous suggestion here that you should always use a documented API for such requests to Tamino. But if you really want to do a http post of your own, this code might help…

<%@ language="vbscript" %>

xml="<?xml version='1.0' encoding='iso-8859-1' ?><Property Category='Buy' PropertyType='32-Room-
Apartment'><Address><State>NY</State><Zip>12108</Zip><City>Lake Pleasant</City>"
xml = xml & "<Street /></Address><Description><Text>Family Room; Fireplace; Lot Features: Swimming Pool</Text><Area>460</Area>"
xml = xml & "<NumberOfBedRooms>2</NumberOfBedRooms><NumberOfBathRooms>1</NumberOfBathRooms></Description>
<ContactPerson><Name>Glenn Carter</Name>"
xml = xml & "<Phone>1-361-842-3875</Phone><Email>
</Email></ContactPerson><ContactPerson><Name>Tommy Lee Jones</Name>"
xml = xml & "<Phone>1-800-642-3333</Phone><Email>
dim myDocument
Set MyDocument = Server.CreateObject("MSXML2.DOMDocument")
myDocument.async = false

If myDocument.parseError.errorCode <> 0 Then 
  Response.Write( "XML Parse Error code: " &
 myDocument.parseError.errorCode & ", reason: " &
 myDocument.parseError.reason & " on line: " &
 myDocument.parseError.line & "</br>")
  Response.Write ("<HTML>XML Parsed successfully</br>")
End If

set xmlHttp = CreateObject ("Microsoft.XMLHTTP") "POST", "http://localhost/tamino/database/collection", false
xmlHttp.setRequestHeader "Content-Type","application/x-www-form-urlencoded;" 
xmlHttp.send( "_process=" & xml)

Response.Write (xmlHttp.responseXML.xml)
Response.write ("Done")



[This message was edited by Bill Leeney on 26 Nov 2002 at 12:41.]

Hi Bill,
Thank you, the problem was solved with his/her help.
Adriano Braga