Oh right thanks.
HTML Code:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <logout xmlns="https://api.betfair.com/global/v3/BFGlobalService"> <request> <header> <clientStamp>0</clientStamp> <sessionToken>$BetfairAPI::session_key</sessionToken> </header> </request> </logout> </soap:Body> </soap:Envelope>