Note that there are some explanatory texts on larger screens.

plurals
  1. POClassic ASP and Paypal API SOAP
    text
    copied!<p>Im trying to call de GetVerifiedStatus API. Im using a server with Windows 7. Can anyone help me plz. This is my code:</p> <pre><code>Dim objXMLHTTP : set objXMLHTTP = Server.CreateObject("Msxml2.XMLHTTP.3.0") Dim strRequest, strResult, strURL strURL = "https://svcs.paypal.com/AdaptiveAccounts/GetVerifiedStatus" strRequest ="&lt;?xml version=""1.0"" encoding=""utf-8""?&gt;" _ &amp; "&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:SOAP-ENC=""http://schemas.xmlsoap.org/soap/encoding/""" _ &amp; " xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""&gt;" _ &amp; " &lt;SOAP-ENV:Header&gt;" _ &amp; " &lt;RequesterCredentials xmlns=""urn:ebay:api:PayPalAPI"" xsi:type=""ebl:CustomSecurityHeaderType""&gt;" _ &amp; " &lt;Credentials xmlns=""urn:ebay:apis:eBLBaseComponents"" xsi:type=""ebl:UserIdPasswordType""&gt;" _ &amp; " &lt;Username&gt;XXXX&lt;/Username&gt;" _ &amp; " &lt;Password&gt;XXXX&lt;/Password&gt;" _ &amp; " &lt;Signature&gt;XXXX&lt;/Signature&gt;" _ &amp; " &lt;Subject&gt;XXXX&lt;/Subject&gt;" _ &amp; " &lt;/Credentials&gt;" _ &amp; " &lt;/RequesterCredentials&gt;" _ &amp; " &lt;/SOAP-ENV:Header&gt;" _ &amp; " &lt;SOAP-ENV:Body&gt;" _ &amp; " &lt;Version xmlns=""urn:ebay:apis:eBLBaseComponents""&gt;98.0&lt;/Version&gt;" _ &amp; " &lt;emailAddress xs:""string""&gt;john@gmail.com&lt;/emailAddress&gt;" _ &amp; " &lt;firstName xs:""string""&gt;John&lt;/firstName&gt;" _ &amp; " &lt;lastName xs:""string""&gt;Vegas&lt;/lastName&gt;" _ &amp; " &lt;matchCriteria xs:""string""&gt;NAME&lt;/matchCriteria&gt;" _ &amp; " &lt;requestEnvelope common:""RequestEnvelope""&gt;" _ &amp; " &lt;detailLevel xs:""string""&gt;ReturnAll&lt;/detailLevel&gt;" _ &amp; " &lt;errorLanguage xs:""string""&gt;en_US&lt;/errorLanguage&gt;" _ &amp; " &lt;/requestEnvelope&gt;" _ &amp; " &lt;/SOAP-ENV:Body&gt;" _ &amp; "&lt;/SOAP-ENV:Envelope&gt;" objXMLHTTP.open "post", "" &amp; strURL &amp; "", False objXMLHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8" objXMLHTTP.setRequestHeader "Content-Length", Len(strRequest) objXMLHTTP.setRequestHeader "SOAPAction", strURL objXMLHTTP.send(strRequest) strResult = objXMLHTTP.responseText response.write strResult </code></pre> <p>Im receiving this error:</p> <pre><code>msxml3.dll erro '800c0008' Failed to download the specified resource </code></pre> <p>At objXMLHTTP.send(strRequest) line. When I changed my http object to MSXML2.ServerXMLHTTP, returns a error that said: A certified is necessary to complete the client authentication.</p> <p>Tks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload