Giter VIP home page Giter VIP logo

eoddata's Introduction

1. Fill in your username and password in credentials.properties
2. mvn assembly:assembly
3. java -jar EodQuote-xxx.jar


from http://ec2-75-101-178-4.compute-1.amazonaws.com/blog/2010/07/24.html

Finally I can connect and login to EodData.com wsdl service at http://ws.eoddata.com/data.asmx?wsdl to retrieve intraday historical data.

The xml at http://ws.eoddata.com/data.asmx?wsdl contains LoginResponse element and LOGINRESPONSE complexType,

so if you use wsdl2java (apache-cxf-2.2.9) to generate the java classes, it will only generate one class LoginResponse, and ignore LOGINRESPONSE ( as it is not valid to have 2 classes with the same name in java)

To get around this,

- save the wsdl locally

- rename LOGINRESPONSE into LOGINRESPONSE2 in the wsdl file

- ./wsdl2java  -client -d client  /Users/lydonchandra/java/EodQuote/EodQuote/src/main/resources/eod.xml

This should generate the package com.eoddata.ws.data into client dir, and you just need to copy it into your project.

Then from your java

Data data = new Data();

Object obj = data.getDataSoap().login("username-without-email-address", "password");

If you are a platinum member, you should be able to login!.

eoddata's People

Stargazers

 avatar Lydon Chandra avatar

Watchers

Lydon Chandra avatar James Cloos avatar

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.