Usually, it would be sufficient to use the object XMLHTTP provided by the MSXML API. However, as we are dealing with long xml documents, it is not working.
We have tried the open method with many configurations.
With a 2K xml document it works with the following parameters
(“PUT”, "http://uri.com.br?_document=“content”, false).
However, when we enlarge the document a little bit, the document is truncated.
The option GET also does not work with such large documents.
As the problem seems to be related to the size of the message…It seems the POST option would be more adequate.
(“POST”, “http://uri.com.br”, false).
However, we would like to know how to set variables to the POST method.
I.e., how to set the “_document” variable with its content “content”.
Have anyone used this option… Could you help us?
Some code samples and examples would be great!
Thanks in advance.
Alissandra, Eric and Yoko.
Does the information I’ve posted here help at all?