Hi guys,
Pretty new to all this. Not really my field of expertise but i am trying to download data from a website in XML using SOAP. I know the msg that i need to send to request the data but not sure how or where to send this from. No idea how to get SOAP running or what my request code should look like.
Can someone explain to me exactly what i need to have going, and what to input to request data.
The message i need to send goes like this, with the string for the username and password filled in by me. It is to recieve a 32 digit GUID.
POST /LiveOdds/Services/Login/Login.asmx HTTP/1.1
Host: direct.tab.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://direct.tab.com.au/LiveOdds/GetKey"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetKey xmlns="http://direct.tab.com.au/LiveOdds/">
<userName>string</userName>
<password>string</password>
</GetKey>
</soap:Body>
</soap:Envelope>
I do know a little Visual Basic but not much.
Cheers guys. Prolly a stupid question but i would owe you a life debt (like when someone pushes you from in front of a bus).
Boz