Hii,

I want to use yahoo analytic api using vb6.

Yahoo! Analytics uses several custom types for
its SOAP implementation, which are described in
the WSDL schema.

For that I have installed Soap toolkit 3.0.

But further I dont know what to do,
I used
MSSoapInit "https://reportx.web.analytics.yahoo.com/api/
IndexToolsApiV3.wsdl"

but yahoo gives XML which I have to send along with this request,
but I dont know how to post this xml
e.g

POST /api HTTP/1.1
Host: HOST:PORT
Connection: Keep-Alive
YWA_API_TOKEN: YOUR_API_TOKEN
User-Agent: PHP-SOAP/5.2.0-8+etch7
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:IndexToolsApiAction"
Content-Length: 455

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAPENV="
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://v3.soap.api.indextools.com";><SOAP-
ENV:Body><ns1:Login><PartnerId>
YOUR_API_TOKEN
</PartnerId><PartnerPassword>YOUR_API_PASSWORD</
PartnerPassword><UserId>USER_ID
</UserId><UserPassword>USER_PASSWORD</UserPassword><IsSecure>false</
IsSecure>
</ns1:Login></SOAP-ENV:Body></SOAP-ENV:Envelope>

---------------------------------------------

can anybody have idea about using SOAP with posting this xml.

pls give me sample code so that I can understand the logic.

Thanx in advance

Reply via email to