Lefora Free Forum
255 views

betfair wsdl maven java generator pom

Page 1
posts 1–7 of 7
novice - member
37 posts

If you are familiar with maven, this might be useful. If you're writing java against the api and don't want to use the example java stubs betfair provide, this pom file will generate the stubs using the current versions of the various Axis2 APIs. You'll need one for the exchange API too. If anyone works out how to prevent Axis2 from generating a single large source file (6.5M) with everything in it, I'd be interested in hearing about it.

Once you've got maven installed and running, create a new project directory, put the pom.xml into that, and run "mvn clean install" should do everything.

There are a bunch of runtime dependencies in the setenv.sh file to set up your classpath.

FILE: setenv.sh
FILE: pom.xml
regular - member
123 posts

Does the axis2 adb data binding now work properly with the betfair wsdls?
It used to be that you had to use xmlbeans ....

novice - member
37 posts

seems to work ok - no problems yet. basic operations seem fine. Will let you know if I see anything odd.

regular - member
123 posts

have you tried the ExchangeService yet?

novice - member
37 posts

yup, what I've used works fine so far. Though it is less tolerant than the previous implementation I was using. For example, GetAllMarketsReq must have the array of event type ids set, even to an empty array - with a null value it falls over with a useless INTERNAL_ERROR from deep in Axis.

novice - member
37 posts

jessicaisbetteratbetfairthanme:
http://jessicalovesbetfair.blogspot.com/

regular - member
184 posts

better than me too....I hope she keeps up with that blog, she's doing interesting stuff with her bot.

__________________
Slashdot. It's like Digg on slow, but sensible.
Page 1
posts 1–7 of 7

This Topic Is Locked To Guest Posts

It's been a while since this topic was active, if you'd like to get it going again, please post as a registered member

join now