Hello:
I've download betfair free api and I've tryed to use its
webservices. When I try to connect, I have "internal_error"
message.
What's wrong in my code ?

// WSDL file:
https://api.betfair.com/global/v3/BFGlobalService.wsdl
SoapConnection Conn //Define SOAP connection
Long ret
string ReturnVal
bfglobalservice st_bfglobalservice //Define Proxy

types__loginreq t_loginreq //Define result structure
types__loginresp t_loginresp //Define result structure




SetPointer(HourGlass!)

Conn = create SoapConnection

Ret=Conn.CreateInstance(st_bfglobalservice,
"bfglobalservice",K_URL_ENDPOINT_SERVICE_GLOBAL)
//Create proxy
if Ret <> 0 then
Messagebox("CreateInstance", "Failed, returnvalue =
"+string(ret))
else
try
t_loginreq.username = 'my_user'
t_loginreq.password = 'my_password'
// t_loginreq.locationid = 0
t_loginreq.productid = 82
// t_loginreq.vendorsoftwareid = 0
// t_loginresp = st_bfglobalservice.login(t_loginreq)
t_loginresp = st_bfglobalservice.login(t_loginreq)
Catch ( SoapException ex )
//error handling
messagebox("soapexception", ex.text)
end try

end if

Destroy Conn