Thanks for your attention,
CLIENT SIDE:
Dim sCaminhoServer As String
Dim sXML As String
Dim sGUID As String
Dim oXMLHTTP As MSXML2.XMLHTTP
sCaminhoServer = "http://server_mts/testeXMl/ReceiveXml.asp"
' cria a instancia para envio via http
Set oXMLHTTP = New MSXML2.XMLHTTP
oXMLHTTP.Open "POST", sServerPath, False
oXMLHTTP.setRequestHeader "encoding", "ISO-8859-1"
oXMLHTTP.send sXML
sGUID = oXMLHTTP.responseText
SERVER SIDE :
set xmldoc = server.CreateObject("Microsoft.XMLDOM")
xmldoc.async = false
xmldoc.load(Request)
set rootNode = xmlDoc.documentElement
nome = rootNode.xml
set stXML= server.createObject("ADODB.Stream")
stXML.Open
stXML.WriteText nome
stXML.Position=0
set rsXML = server.CreateObject("ADODB.Recordset")
rsXML.Open stXML
> what's is your complete code?
> > I criated a xml with the ADO rs.save method and send it through the
> XMLHTTP
> > POST .I having problems when i receive it in my ASP page, all words
> that
> > have any foriegn caracters like , , ? , I receive with stranger
> > caracters in place of this caracters.
> > What should i do ? change the way i sending , change the ASP page ?
> > I tried this but don't work
> > ps. oMsg: an Instance of Microsoft.XMLHTTP
> > oMsg.setRequestHeader("encoding","ISO-8859-1")
> > ps. oMsg an Instance of Microsoft.XMLHTTP
> > tks in advance
> Sent via Deja.com
> http://www.deja.com/