Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 857 Bytes

File metadata and controls

35 lines (24 loc) · 857 Bytes

e-conomic-soap-api

  • Java 11 compatible
  • Just clone
  • Do: mvn install

Then add following dependency to your project:

<dependency>
    <groupId>soj.nobelium</groupId>
    <artifactId>e-conomic</artifactId>
    <version>1.0</version>
</dependency>

Please note, these maven coordinates are not in Maven central. You have to install it your local machine

With this Java code you can interact with the api:

var service = new EconomicWebService();

var session = service.getEconomicWebServiceSoap12();

((BindingProvider) session).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);

// You need to create the tokens in e-conomic administration console 
session.connectWithToken("token1", "token2");

// Do your interaction on the session object

// Disconnect the session after use
session.disconnect();