Giter VIP home page Giter VIP logo

xmlsoccer's People

Contributors

pabloo99 avatar ronierisson avatar spauny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xmlsoccer's Issues

Java API issue when running from tomcat 7

Hello,

When I run from Netbeans the code, everything works well and I can retrieve data from webservice.

When the code is executed in tomcat, I get the following error :

Caused by: org.springframework.oxm.UncategorizedMappingException: Unknown JAXB exception; nested exception is javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: "com.github.pabloo99.xmlsoccer.webservice" does not contain ObjectFactory.class or jaxb.index

  • with linked exception:
    [javax.xml.bind.JAXBException: "com.github.pabloo99.xmlsoccer.webservice" does not contain ObjectFactory.class or jaxb.index]
    at org.springframework.oxm.jaxb.Jaxb2Marshaller.convertJaxbException(Jaxb2Marshaller.java:867)
    at org.springframework.oxm.jaxb.Jaxb2Marshaller.getJaxbContext(Jaxb2Marshaller.java:453)
    at org.springframework.oxm.jaxb.Jaxb2Marshaller.createMarshaller(Jaxb2Marshaller.java:677)
    at org.springframework.oxm.jaxb.Jaxb2Marshaller.marshal(Jaxb2Marshaller.java:640)
    at org.springframework.ws.support.MarshallingUtils.marshal(MarshallingUtils.java:81)
    at org.springframework.ws.client.core.WebServiceTemplate$2.doWithMessage(WebServiceTemplate.java:395)
    at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:573)
    at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:539)
    at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:386)
    at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:380)
    at com.github.pabloo99.xmlsoccer.client.XmlSoccerServiceImpl.getAllTeams(XmlSoccerServiceImpl.java:151)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)

Do you have any idea?

Best regards,

Dbarral

Odds for X1, X2, +2.5, -2.5

Hi, beautiful API you created here. I am using it since a few weeks.

Would it be a big deal to support the added odds for X1, X2, +2.5 and -2.5 goals?
That would be very very nice. Unfortunetally I am not much into spring otherwise I would create a pull request..

And big compliment for your work,
Marco

access denied "setDatatypeConverter"

Hi!

I have this error when I'm using your jar file (version 0.0.2) in java project :
access denied ("javax.xml.bind.JAXBPermission" "setDatatypeConverter")

I'm not Java developer and I don't find fix :(

Thx for your help

getNextMatchOddsByLeague returns null

Hello,

I made the following call using the xmlsoccer-0.0.5.jar in java.

List<GetOddsResultDto> getOddsResultDto = new ArrayList<>(xmlSoccerService.getNextMatchOddsByLeague("Scottish Premier League")); System.out.println(getOddsResultDto.toString());

Unluckily it outputs the following:

[GetOddsResultDto(id=null, fixtureMatchId=367778, dateCreate=2017-04-12T07:25:45.563, _10BetHomeHome=null, _10BetHomeUrl=null, _10BetHomeAway=null,.... ]

So every bookie is null. What am I doing wrong?

Best regards

Compatibility among different versions

Hi there,
I have some troubles using this library.
I used version 0.0.2
I download the latest version 0.0.5, but it seems not retrocompatible! In fact all DTOs don't have public getter for the properties.
How can I access to these properties? Is there any documentation for that library?
Thank you so much

Dario

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.