ayuda para pasar codigo de visual foxpro a xailer
Publicado: Vie Jul 19, 2013 2:08 am
Hola a todos
Favor de ayudarme a pasar este codigo de visula foxpro a xailer :
&& Consumir WS.
oXMLHTTP= CreateObject("MSXML2.XMLHTTP")
oXMLHTTP.Open("POST"," http://pegasotecnologiacfdi.net/ServAdm ... wayQA/Serv iceGateway.svc/Soap11Text",.F.)
oXMLHTTP.SetRequestHeader("Content-Type","text/xml; charset=utf-8")
oXMLHTTP.SetRequestHeader("SOAPAction"," http://namespace.pegasotecnologia.com/S ... nBaseExter nalService/emitirCFD")
oXMLHTTP.Send(oXMLRequest.XML)
=STRTOFILE(oXMLHTTP.ResponseText,"D:oXMLResponse.xml")
esto es lo que yo escribe con xailer pero estoy perdido en las dos ultimas
lineas del codigo anterior y no se si lo que ya escribi este bien :
WITH OBJECT TInternet():New()
IF :Open()
:PostRequest(" http://pegasotecnologiacfdi.net/ServAdm ... wayQA/Serv iceGateway.svc/Soap11Text",.F.)
:AddRequestHeader("Content-Type"+crlf+"text/xml"+crlf+"charset=utf-8 ")
:AddRequestHeader("SOAPAction"," http://namespace.pegasotecnologia.com/S ... nBaseExter nalService/emitirCFD")
Endif
End
por su coperación mil gracias
Favor de ayudarme a pasar este codigo de visula foxpro a xailer :
&& Consumir WS.
oXMLHTTP= CreateObject("MSXML2.XMLHTTP")
oXMLHTTP.Open("POST"," http://pegasotecnologiacfdi.net/ServAdm ... wayQA/Serv iceGateway.svc/Soap11Text",.F.)
oXMLHTTP.SetRequestHeader("Content-Type","text/xml; charset=utf-8")
oXMLHTTP.SetRequestHeader("SOAPAction"," http://namespace.pegasotecnologia.com/S ... nBaseExter nalService/emitirCFD")
oXMLHTTP.Send(oXMLRequest.XML)
=STRTOFILE(oXMLHTTP.ResponseText,"D:oXMLResponse.xml")
esto es lo que yo escribe con xailer pero estoy perdido en las dos ultimas
lineas del codigo anterior y no se si lo que ya escribi este bien :
WITH OBJECT TInternet():New()
IF :Open()
:PostRequest(" http://pegasotecnologiacfdi.net/ServAdm ... wayQA/Serv iceGateway.svc/Soap11Text",.F.)
:AddRequestHeader("Content-Type"+crlf+"text/xml"+crlf+"charset=utf-8 ")
:AddRequestHeader("SOAPAction"," http://namespace.pegasotecnologia.com/S ... nBaseExter nalService/emitirCFD")
Endif
End
por su coperación mil gracias