necesito como es la envoltura SOAP...
LA TENGO ASI EN VISUAL BASIC 6.0
Código: Seleccionar todo
cSOAP = _
"<?xml version=""1.0"" encoding=""utf-8""?>" & _
"<soap:Envelope xmlns:soap=""http://www.w3.org/2003/05/soap-envelope"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">" & _
"<soap:Body>" & _
"<RecibeCFDResponse xmlns=""http://www.sci-grupo.com.mx/"">" & _
"<RecibeCFDResult>string</RecibeCFDResult>" & _
"</RecibeCFDResponse>" & _
"</soap:Body>" & _
"</soap:Envelope>"
envolturaSOAP = cSOAP
oHttReq.setRequestHeader "SOAPAction", "http://www.sci-grupo.com.mx/RecibeCFD" ' sSoapAction
oHttReq.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
oHttReq.setRequestHeader "User-Agent:", "Oikos v1.2"
oHttReq.setRequestHeader "Host:", "serviciosweb.soriana.com"
oHttReq.setRequestHeader "Content-Length:", Len(sXml)
oHttReq.setRequestHeader "Connection:", "Keep -Alive"
oHttReq.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
oHttReq.setRequestHeader "cache -Control:", "no -cache"
oHttReq.send sXml
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Header</h2>
<hr><p>HTTP Error 400. The request has an invalid header name.</p>
</BODY></HTML>