I am still not sure why u have this static block
static {
BFGLOBALSERVICE_WSDL_LOCAT
ION = com.betfair.publicapi.v3.b
fglobalser
vice.BFGlo
balService
_Service.c
lass.getRe
source("
https://api.betfair.com/global/v3/BFGlobalService.wsdl");
WebServiceException e = null;
if (BFGLOBALSERVICE_WSDL_LOCA
TION == null) {
e = new WebServiceException("Canno
t find '
https://api.betfair.com/global/v3/BFGlobalService.wsdl' wsdl. Place the resource correctly in the classpath.");
}
BFGLOBALSERVICE_EXCEPTION = e;
}
The simplest thinking I can suggest you is to remove this static block in BFGlobalService-Service.ja
va
and try if it still doesn't work! then do this below change in bfLogin.java
change this code from
com.betfair.publicapi.v3.b
fglobalser
vice.BFGlo
balService
_Service service = new com.betfair.publicapi.v3.b
fglobalser
vice.BFGlo
balService
_Service()
;
to the code below