Giter Club home page Giter Club logo

ebics-java-client's Introduction

EBICS Java Client

This library allows to interact with banks using the EBICS (Electronic Banking Internet Communication Standard)

You can use the EbicsClient as command line tool or use it from your Java application.

How to get started:

https://github.com/ebics-java/ebics-java-client/wiki/EBICS-Client-HowTo

You can build it directly from the source with maven or use the releases from JitPack.

Gradle:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

dependencies {
    implementation 'com.github.ebics-java:ebics-java-client:master-SNAPSHOT'
}

Maven

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

<dependency>
    <groupId>com.github.ebics-java</groupId>
    <artifactId>ebics-java-client</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

This project is based on https://sourceforge.net/p/ebics/

Main differences with this fork:

  • Support for French, German and Swiss banks
  • Command line client to do the setup, initialization and to download files from the bank
  • Use of maven for compilation instead of ant + Makefile + .sh scripts

ebics-java-client's People

Contributors

dependabot[bot] avatar nelkahn avatar pinaraf avatar reva avatar styppo avatar uwemaurer avatar

Stargazers

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

Watchers

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

ebics-java-client's Issues

Error in ReturnCode.java , blocks sending INI-HIA request

Hello, many thanks for sharing this framework .

I was trying to get a connection and stumbled across an issue while sending the INI request as per the HOW-TO.
after debugging it seems that the following line
https://github.com/uwemaurer/ebics-java-client/blob/ee19d758a9ad3ecdd7f0b7cebcdf5bd4c822e0a4/src/main/java/org/kopi/ebics/exception/ReturnCode.java#L189
is causing the issue.
The issue is with this code messages.getString(code) , without it the initialisation process completed successfully.

Below the error msg

[WARNING]
java.lang.ExceptionInInitializerError
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.NullPointerException
at org.kopi.ebics.exception.ReturnCode.create (ReturnCode.java:193)
at org.kopi.ebics.exception.ReturnCode. (ReturnCode.java:162)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)

Wrong bank public key digest at fetchFile

The bank public key digest retrieved from the configuration file is wrong when calling fetchFile() from EbicsClient for C54 (actually Z54) order type. In order to fix it, I had to add a very nasty call to bank.setDigests() using KeyUtil.getKeyDigest() to fix the digest on the fly in the method:

public void fetchFile(File file, User user, Product product, OrderType orderType,
    boolean isTest, Date start, Date end) throws IOException, EbicsException {
    FileTransfer transferManager;
    EbicsSession session = createSession(user, product);
    // ### FIX THE WRONG BANK PUBLIC KEYS DIGEST ###
    EbicsBank bank = session.getUser().getPartner().getBank();
    bank.setDigests(KeyUtil.getKeyDigest(bank.getE002Key()), KeyUtil.getKeyDigest(bank.getX002Key()));
    // #############################################
    session.addSessionParam("FORMAT", "pain.xxx.cfonb160.dct");
    if (isTest) {
        session.addSessionParam("TEST", "true");
    }
    transferManager = new FileTransfer(session);
    
    configuration.getTraceManager().setTraceDirectory(
        configuration.getTransferTraceDirectory(user));

    try {
        transferManager.fetchFile(orderType, start, end, file);
    } catch (NoDownloadDataAvailableException e) {
        // don't log this exception as an error, caller can decide how to handle
        throw e;
    } catch (Exception e) {
        configuration.getLogger().error(
            Messages.getString("download.file.error", Constants.APPLICATION_BUNDLE_NAME), e);
        throw e;
    }
}

It would be great to have a better solution if possible?

EBICS TS

Hello !
Excuse me for the message in an issue but I don't find another to communicate.
I am searching a way to do SEPA credit transfer and I found your project.
I have 2 questions :

  • I have found that EBICS TS is needed to make SEPA credit transfer. Are you ok with this ?
  • Is your project compatible with EBICS TS ?
    Thanks in advance for you response and sorry for the message in an issue.

resend the INI and HIA request

Hi all

I was able to successfully activate Postfinance.
Since I had some problems with it (Java version). I wanted to unlock the whole thing again.
So I reset the participant.
Now I wanted to resend the files. I deleted everything except the ebics.txt under user\ebics\client\ . I created and sent the files again. I did not get any errors but a success. However, I get (on the test platform of postfinances) the error that the user has the status new and I have to send an INI and HIA request first.

Does anyone have a suggestion. Is it the Postfinance?

thank you for your help

Failed to create INI/HIA requests (Message not EBICS-conformant)

I tried to create INI/HIA requests after creating EBICS database with command (mvn exec:java -Dexec.mainClass=org.kopi.ebics.client.EbicsClient -Dexec.args="--create") but the software says:

mvn exec:java -Dexec.mainClass=org.kopi.ebics.client.EbicsClient -Dexec.args="--ini --hia"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------------< org.kopi:ebics >---------------------------
[INFO] Building ebics 1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ ebics ---
2020-02-24 12:58:12,069 INFO - Configuration initialization
2020-02-24 12:58:12,073 INFO - Loading user yyyyyyyy
2020-02-24 12:58:12,100 INFO - The user yyyyyyyy was loaded successfully
2020-02-24 12:58:12,100 INFO - Sending the signature certificate for user yyyyyyyy
2020-02-24 12:58:13,333 ERROR - The signature certificate cannot be sent for the yyyyyyyy user
org.kopi.ebics.exception.EbicsException: Message not EBICS-conformant
at org.kopi.ebics.exception.ReturnCode.throwException(ReturnCode.java:57)
at org.kopi.ebics.xml.DefaultResponseElement.checkReturnCode(DefaultResponseElement.java:75)
at org.kopi.ebics.xml.DefaultResponseElement.report(DefaultResponseElement.java:70)
at org.kopi.ebics.xml.KeyManagementResponseElement.build(KeyManagementResponseElement.java:76)
at org.kopi.ebics.client.KeyManagement.sendINI(KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest(EbicsClient.java:298)
at org.kopi.ebics.client.EbicsClient.main(EbicsClient.java:664)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
at java.base/java.lang.Thread.run(Thread.java:834)
[WARNING]
org.kopi.ebics.exception.EbicsException: Message not EBICS-conformant
at org.kopi.ebics.exception.ReturnCode.throwException (ReturnCode.java:57)
at org.kopi.ebics.xml.DefaultResponseElement.checkReturnCode (DefaultResponseElement.java:75)
at org.kopi.ebics.xml.DefaultResponseElement.report (DefaultResponseElement.java:70)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:76)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:298)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:664)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
at java.lang.Thread.run (Thread.java:834)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.311 s
[INFO] Finished at: 2020-02-24T12:58:13Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project ebics: An exception occured while executing the Java class. Message not EBICS-conformant -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Here is my EBICS.txt configuration file :

password=xxxxxxxxx
userId=yyyyyyyy
partnerId=zzzzzzzz
hostId=70010080
bank.url=https://ebanking.postbank.de/tristan/ebics
bank.name=POSTBANK
user.name=Testname
user.email=[email protected]
user.country=Germany
user.org=Testorg
languageCode=de
countryCode=DE
productName=EBICS Java Kernel 1.0

Is there anything I can do or is the software simply not compatible with german POSTBANK EBICS implementation ?

C54 orderType not fully serilized

Hi,

when I try to download C54 orederType, it is not serialised the right way.

This is how serialised file looks like:

PK��
��≥…R�£QIë¿�ë¿�42021-06-10_C54_DE52701694100002965682_EUR_636794.xml<?xml version="1.0" encoding="UTF-8" ?><Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02 camt.054.001.02.xsd">
  <BkToCstmrDbtCdtNtfctn>
    <GrpHdr>
      <MsgId>054D2021-06-09T22:20:31.0N210000012</MsgId>
      <CreDtTm>2021-06-09T22:20:25.0+02:00</CreDtTm>
.
.
.
rest of the file is OK

But it should looks like

<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.053.001.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02 camt.054.001.02.xsd">
  <BkToCstmrDbtCdtNtfctn>

When I opet it with Sublime (UTF-8), after "PK" I got some adresses: <0x03><0x04>....and then 2021-06-10_C54_DE52701694100002965682_EUR_636794.xml
Please check screenshot here
https://ibb.co/gmmtmmH

ExceptionInitializerError

An exception is thrown when I try to fetch files:

Uncaught error from thread [application-akka.actor.default-dispatcher-3]: null, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for for ActorSystem[application]
java.lang.ExceptionInInitializerError
at org.kopi.ebics.xml.InitializationResponseElement.build(InitializationResponseElement.java:58)
at org.kopi.ebics.xml.DownloadInitializationResponseElement.build(DownloadInitializationResponseElement.java:62)
at org.kopi.ebics.client.FileTransfer.fetchFile(FileTransfer.java:211)
at org.kopi.ebics.client.EbicsClient.fetchFile(EbicsClient.java:419)
at org.kopi.ebics.client.EbicsClient.fetchFile(EbicsClient.java:431)
at services.payment.EbicsClient.fetchCamt054(EbicsClient.java:100)
at modules.UserChecker.fetchCamt054(UserCheckerModule.java:177)
at modules.UserChecker.checkRefills(UserCheckerModule.java:124)
at akka.actor.LightArrayRevolverScheduler$$anon$2$$anon$1.run(LightArrayRevolverScheduler.scala:102)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.lang.RuntimeException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at org.kopi.ebics.messages.Messages.getString(Messages.java:71)
at org.kopi.ebics.exception.ReturnCode.create(ReturnCode.java:193)
at org.kopi.ebics.exception.ReturnCode.(ReturnCode.java:186)
... 15 more
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at org.kopi.ebics.messages.Messages.getString(Messages.java:69)
... 17 more
2021-10-04 18:15:02,650 [ERROR] from a.a.ActorSystemImpl - Uncaught error from thread [application-akka.actor.default-dispatcher-3]: null, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.ExceptionInInitializerError: null

String fileName = "ebics-"
        + configuration.getString("provider.coordinates.name")
        + "-"
        + LocalDateTime.now()
        + ".camt.054.zip";
File c54Zip = new File(C54_DIR, fileName);

EbicsClient client = EbicsClient
        .createEbicsClient("ebics", "file.camt);
client.loadDefaultUser();
client.fetchFile(c54Zip, OrderType.C54, null, null);

I'm using the JitPack maven with the last build.
It used to work with commit 41fbb38

how would one be able to make use of this client

Hello,
i would like to know how would one be able to make use of this client?

Seems i have compiled it so far, unclear if this is now to be used as jar file or only with maven commands as mentioned on the Wiki.

any help would be liked.

tried to run this, but failing with missing classes org.kopi.ebics.schema.

[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------------< org.kopi:ebics >---------------------------
[INFO] Building ebics 1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ebics ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ebics ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 82 source files to C:\git\ebics-java-client\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[176,81] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[178,51] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[241,67] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/certificate/KeyUtil.java:[87,29] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[252,61] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[253,40] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[447,95] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[572,44] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[26,69] package org.kopi.ebics.schema.h003.EbicsKeyManagementResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[83,11] cannot find symbol
symbol: class EbicsKeyManagementResponse
location: class org.kopi.ebics.xml.KeyManagementResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[23,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[26,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[27,64] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[28,86] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[29,86] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[30,91] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest.Body does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[31,104] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest.Body.DataTransfer does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[28,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[29,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[30,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[31,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[33,70] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[34,98] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument.EbicsNoPubKeyDigestsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[35,98] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument.EbicsNoPubKeyDigestsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[36,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[79,32] cannot find symbol
symbol: class SignatureType
location: class org.kopi.ebics.xml.NoPubKeyDigestsRequestElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[25,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[26,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[27,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[28,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[29,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/FileTransfer.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/FileTransfer.java:[97,79] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[33,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[34,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[35,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[36,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[37,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[38,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[39,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[40,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[106,10] cannot find symbol
symbol: class SignatureType
location: class org.kopi.ebics.xml.SignedInfo
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[26,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[27,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[28,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[29,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[30,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[31,52] package org.kopi.ebics.schema.h003.MutableHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferRequestElement.java:[27,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[27,57] package org.kopi.ebics.schema.h003.DataEncryptionInfoType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[28,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[29,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[30,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[31,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[32,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[33,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[34,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[35,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[36,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[37,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[38,63] package org.kopi.ebics.schema.h003.StaticHeaderOrderDetailsType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[39,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[40,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[41,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[42,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[43,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[93,11] cannot find symbol
symbol: class HPBResponseOrderDataType
location: class org.kopi.ebics.xml.HPBResponseOrderDataElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[26,56] package org.kopi.ebics.schema.h003.EbicsResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[64,13] cannot find symbol
symbol: class EbicsResponse
location: class org.kopi.ebics.xml.TransferResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[31,57] package org.kopi.ebics.schema.h003.DataEncryptionInfoType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[33,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[34,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[35,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[36,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[37,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[38,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[39,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[40,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[41,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[42,52] package org.kopi.ebics.schema.h003.ParameterDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[43,62] package org.kopi.ebics.schema.h003.ParameterDocument.Parameter does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[44,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[45,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[46,63] package org.kopi.ebics.schema.h003.StaticHeaderOrderDetailsType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[47,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[48,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[49,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[50,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[51,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[74,102] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UserSignature.java:[29,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UserSignature.java:[30,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[222,35] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[26,56] package org.kopi.ebics.schema.h003.EbicsResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[91,13] cannot find symbol
symbol: class EbicsResponse
location: class org.kopi.ebics.xml.InitializationResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HIARequestOrderDataElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[INFO] 108 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.342 s
[INFO] Finished at: 2020-01-12T22:31:45+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ebics: Compilation failure: Compilation failure:
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[176,81] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[178,51] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/utils/Utils.java:[241,67] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/certificate/KeyUtil.java:[87,29] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[252,61] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[253,40] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[447,95] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/User.java:[572,44] unmappable character for encoding Cp1252
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[26,69] package org.kopi.ebics.schema.h003.EbicsKeyManagementResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/KeyManagementResponseElement.java:[83,11] cannot find symbol
[ERROR] symbol: class EbicsKeyManagementResponse
[ERROR] location: class org.kopi.ebics.xml.KeyManagementResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[23,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[26,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[27,64] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[28,86] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[29,86] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[30,91] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest.Body does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UnsecuredRequestElement.java:[31,104] package org.kopi.ebics.schema.h003.EbicsUnsecuredRequestDocument.EbicsUnsecuredRequest.Body.DataTransfer does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[28,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[29,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[30,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[31,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[33,70] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[34,98] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument.EbicsNoPubKeyDigestsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[35,98] package org.kopi.ebics.schema.h003.EbicsNoPubKeyDigestsRequestDocument.EbicsNoPubKeyDigestsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[36,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/NoPubKeyDigestsRequestElement.java:[79,32] cannot find symbol
[ERROR] symbol: class SignatureType
[ERROR] location: class org.kopi.ebics.xml.NoPubKeyDigestsRequestElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[25,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[26,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[27,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[28,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignaturePubKeyOrderDataElement.java:[29,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/FileTransfer.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/client/FileTransfer.java:[97,79] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[33,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[34,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[35,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[36,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[37,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[38,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[39,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[40,37] package org.kopi.ebics.schema.xmldsig does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SignedInfo.java:[106,10] cannot find symbol
[ERROR] symbol: class SignatureType
[ERROR] location: class org.kopi.ebics.xml.SignedInfo
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[26,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[27,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[28,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[29,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[30,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[31,52] package org.kopi.ebics.schema.h003.MutableHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadTransferRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferRequestElement.java:[27,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[27,57] package org.kopi.ebics.schema.h003.DataEncryptionInfoType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[28,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[29,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[30,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[31,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[32,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[33,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[34,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[35,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[36,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[37,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[38,63] package org.kopi.ebics.schema.h003.StaticHeaderOrderDetailsType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[39,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[40,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[41,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[42,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/SPRRequestElement.java:[43,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HPBResponseOrderDataElement.java:[93,11] cannot find symbol
[ERROR] symbol: class HPBResponseOrderDataType
[ERROR] location: class org.kopi.ebics.xml.HPBResponseOrderDataElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[26,56] package org.kopi.ebics.schema.h003.EbicsResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/TransferResponseElement.java:[64,13] cannot find symbol
[ERROR] symbol: class EbicsResponse
[ERROR] location: class org.kopi.ebics.xml.TransferResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[31,57] package org.kopi.ebics.schema.h003.DataEncryptionInfoType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[32,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[33,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[34,58] package org.kopi.ebics.schema.h003.DataTransferRequestType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[35,55] package org.kopi.ebics.schema.h003.EbicsRequestDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[36,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[37,68] package org.kopi.ebics.schema.h003.EbicsRequestDocument.EbicsRequest does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[38,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[39,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[40,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[41,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[42,52] package org.kopi.ebics.schema.h003.ParameterDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[43,62] package org.kopi.ebics.schema.h003.ParameterDocument.Parameter does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[44,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[45,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[46,63] package org.kopi.ebics.schema.h003.StaticHeaderOrderDetailsType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[47,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[48,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[49,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[50,69] package org.kopi.ebics.schema.h003.StaticHeaderType.BankPubKeyDigests does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[51,51] package org.kopi.ebics.schema.h003.StaticHeaderType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[74,102] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UserSignature.java:[29,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UserSignature.java:[30,34] package org.kopi.ebics.schema.s001 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/UploadInitializationRequestElement.java:[222,35] package OrderAttributeType does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[25,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[26,56] package org.kopi.ebics.schema.h003.EbicsResponseDocument does not exist
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/InitializationResponseElement.java:[91,13] cannot find symbol
[ERROR] symbol: class EbicsResponse
[ERROR] location: class org.kopi.ebics.xml.InitializationResponseElement
[ERROR] /C:/git/ebics-java-client/src/main/java/org/kopi/ebics/xml/HIARequestOrderDataElement.java:[24,34] package org.kopi.ebics.schema.h003 does not exist
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Potential chunk file size issue

Hello,
my company is using a fork of this library and encountered an issue with one the German banks at the end of last year. As part of the EBICS standard, a file upload request must be chunked in parts not bigger than 1MB. This is what the Splitter class is used for.

However, it's only splitting the data that the file consists of, not the request itself (obviously). Once that data is put into a request (which is an XML entity with a data chunk embedded in it), a markup of 150-300kB is usually added. The result is that the total request size can be as big as ~1.3MB.

Recently a request got denied by the bank because the request size was over the 1MB limit. We've solved this by making sure individual data chunks are not bigger than 500kB. It's a slightly hacky solution, and I can't really not come to a conclusion that the bank must have wrongly implemented the standard, and it should be verifying the data chunk size instead of the request size.

Has anyone else encountered this issue? If so, I'm happy to submit an MR with our fix. Please let me know what should the behaviour be on bank side. Thanks

"org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher." when trying to upload file (Possible bug in saving Bank public keys)

Hi,

I am currently using this client to implement ebics functionality with Taunussparkasse in our application.

The Initialization worked without a problem, but after my account was activated and I tried to test it with some simple download operations no download request worked and the server always responded with the "Invalid Bank Key" error message.

After some searching I found this (supposed) solution, which changes the way the key digests were calculated:

https://sourceforge.net/p/ebics/discussion/general/thread/d4b38e20/#f11d/78fb/abb1/7de4/049d

This change in the getKeyDigest method seems to have fixed some issues for me, as with that change all download operations are working (HAC, STA etc).

However when I try to upload a file to the server I receive a "org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher." Exception.

The Exception happens in the method "InitializationRequestElement.generateTransactionKey" when it tries to encrypt the nonce with the E002 key.

I am still trying to figure out what exactly is going on here, but my suspicion is that the Bank key is simply not saved correct and that the changes made in the getKeyDigest method only masked the problem.

Importing existing public and private keys

Hello, is there a way to import already existing keys? actually I'm trying to generate a KeyPair with it in the createE002Certificate using :
byte[] byteKey = Base64.getDecoder().decode(pubkey.getBytes());
X509EncodedKeySpec spec = new X509EncodedKeySpec(byteKey);
KeyFactory fact = KeyFactory.getInstance("RSA");
PublicKey mypubkey = fact.generatePublic(spec);
byte[] keyByte = Base64.getDecoder().decode(privkey.getBytes());
PKCS8EncodedKeySpec keySpecPKCS8 = new PKCS8EncodedKeySpec(keyByte);
PrivateKey myprivkey = fact.generatePrivate(keySpecPKCS8);

but the result is java.security.InvalidKeyException: Public key presented not for certificate signature.

Can someone give some help?

failed to execute FUL (v2.5)

I tried to create FUL requests after done with INI, HIA and HPB with the command
bin/ebics-client-h004.sh -ot FUL -i pain.001.xml

but getting below error on submission of FUL using above command( bin/ebics-client-h004.sh -ot FUL -i pain.001.xml) .

org.ebics.client.exception.EbicsException: Element has xsi:nil attribute but is not nillable in element FULOrderParams@urn:org:ebics:H004
at org.ebics.client.xml.h004.DefaultEbicsRootElement.validate(DefaultEbicsRootElement.java:196) ~[ebics-java-lib-1.2-SNAPSHOT.jar:?]
at org.ebics.client.filetransfer.h004.FileTransfer.sendFile(FileTransfer.java:111) ~[ebics-java-lib-1.2-SNAPSHOT.jar:?]
at org.ebics.client.console.h004.ConsoleApp.sendFile(App.kt:151) [ebics-console-app-1.2-SNAPSHOT.jar:?]
at org.ebics.client.console.h004.ConsoleApp.runMain(App.kt:79) [ebics-console-app-1.2-SNAPSHOT.jar:?]
at org.ebics.client.console.h004.AppKt.main(App.kt:298) [ebics-console-app-1.2-SNAPSHOT.jar:?]

image

**********my EBICS.txt file :

ebicsVersion=H004
password=password
userId=USER5
partnerId=PARTNER7
hostId=HOSTBNK7
bank.url=http://10.11.11.190:4000/test
bank.name=HOSTBNK7
user.name=USER5
user.email=[email protected]
user.country=FR
user.org=BM
languageCode=EN
countryCode=FR
productName=EBICS Java Kernel 1.0
use.certificates=true

can anyone help me here to execute FUL successfully .

Error while sending INI request

when I try to send the ini request, I recieve the following error:

An exception occurred while executing the Java class. string length (5) does not match length facet (2) for LanguageType in namespace http://www.ebics.org/H003

Is the library using EBICS v2.4? I am trying to connect to UBS Switzerland and they require 2.5 or 3.0.

Thanks

Broken build

I've just checked out the project and run mvn install, looks like the build is broken:

Vladimirs-Mac-mini:ebics-java-client vkolotoff$ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------------------< org.kopi:ebics >---------------------------
[INFO] Building ebics 1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ebics ---
[INFO] Deleting /Users/vkolotoff/projects/ebics-java-client/target
[INFO] 
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ ebics ---
warning: [options] bootstrap class path not set in conjunction with -source 1.4
error: Source option 1.4 is no longer supported. Use 6 or later.
error: Target option 1.4 is no longer supported. Use 1.6 or later.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.972 s
[INFO] Finished at: 2019-11-05T09:57:13Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:xmlbeans-maven-plugin:2.3.3:xmlbeans (default) on project ebics: XmlBeans compile failed:
[ERROR]  xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_orders.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_response.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_types.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/xmldsig-core-schema.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_request.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_hev.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_response.xsd
[ERROR] xml ErrorLoading schema file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_signature.xsd
[ERROR] xml ErrorLoading config file /Users/vkolotoff/projects/ebics-java-client/src/main/xsd/config/config.xsdconfig
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_orders.xsd:293:4: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_orders.xsd:426:5: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_orders.xsd:647:4: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_orders.xsd:881:4: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd:190:6: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd:195:6: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd:484:6: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd:489:6: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_request.xsd:239:9: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_keymgmt_request.xsd:301:8: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] xml Error/Users/vkolotoff/projects/ebics-java-client/src/main/xsd/ebics_request.xsd:51:8: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Environment: Oracle JDK 11, OSX (10.14.6 (18G103)), Apache Maven 3.6.2

Contact for vulnerability disclosure

At the Swiss NCSC (National Cybersecurity Center), we have received information about a potential vulnerability in this library,
as we did not find any suitable security contact, @uwemaurer please reach out to us via vulnerability[@]ncsc.ch at your earliest convenience so we can share details and mitigation recommendations.

Control OrderIDs

Hi Uwe

I'm trying to use your code as a dependancy and fully automate execution of EBICS orders in a batch process...
I wonder if there is possibility to control OrderIDs generated in Partner.java. Bank requires unique ID for each order but each time I instantiate new EbicsClient() the value orderId starts over from "A001" which leads to orders being rejected by the bank as duplicates.
Possible solution is to create bean EbicsClient and let it live as much as possible so it generates new OrderIDs successfully... but eventually the java container might be restarted and the value to start again over "A001" so this doesn't look like the safest solution.

Am I maybe missing something or this functionality isn't there yet ?

ZK3 Order Type

Hi
Could I submit order type ZK3 to download MT940 files from UBS Switzerland?
If not, is it a very complex software implementation?
Can I have some information about it?
Thanks
Nicola Thurner

General Questions

Hi Uwe,

I've been playing around a bit with this code and have some questions, i' not an expert in java hence my questions might seem trivial.

  1. When I get the bank public key with the command "HPB", the bank hashs are not displayed. I can see from the code they are saved in a p12 but that is not readable. Do you have a suggestion how to read?
    the only way was to insert some debugs in the KeyManagement source. I m also wondering if the framework will check those keys before each connection with the bank to ensure there is no MITM attack.

  2. The whole security depends on where the private keys are saved and how they are accessed.
    Is my understanding correct that the keys are read from the serialized objects saved in plain under the "serialized" folder? i'm not sure, but it seems that when the user is loaded (loadUser) it reads from the inputstream.
    if that is true, why not load the certificates from the p12 file where the keys are encrypted?

I'm working on a solution to adapt the code to use HSM with a PCKS11, so that the security operations are performed on the token. It should add another security layer.

many thanks for your time, and thanks for fixing the bug yesterday so quickly :)

EBICS H005 (ebics3.0) support

Hi Uwe Maurer

I have forked your repo and started working on giving support for H005 (ebics3.0) along with the older one.
H005 protocol has major enhancement and new XSD schema changes.

Current Status:

  • Configurable protocal version H003/H005 based on property file
  • H005 XSD integartion
  • INI order type
  • HIA order type
  • HPB order type
  • BTU ordr type
  • BTD order type
  • HEV order type
  • HKD order type
  • HPD order type
  • HTD order type
  • etc and many more order types and new features.

illegal pattern 'e'

I get following error when i try to execute the create command:

C:\Ebics\ebics-java-client-master>mvn exec:java -Dexec.mainClass=org.kopi.ebics.client.EbicsClient -Dexec.args="--create"
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------------< org.kopi:ebics >---------------------------
[INFO] Building ebics 1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ ebics ---
2020-05-27 20:29:04,855 INFO - !!init.configuration!!
2020-05-27 20:29:04,947 INFO - !!user.create.info!!
2020-05-27 20:29:06,508 INFO - !!user.create.directories!!
2020-05-27 20:29:07,120 ERROR - !!user.create.error!!
java.lang.IllegalArgumentException: Illegal pattern character 'e'
at java.base/java.text.SimpleDateFormat.compile(SimpleDateFormat.java:846)
at java.base/java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:654)
at java.base/java.text.SimpleDateFormat.(SimpleDateFormat.java:625)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.formatDate(AbstractInitLetter.java:359)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.buildHeader(AbstractInitLetter.java:249)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.build(AbstractInitLetter.java:221)
at org.kopi.ebics.letter.AbstractInitLetter.build(AbstractInitLetter.java:89)
at org.kopi.ebics.letter.A005Letter.create(A005Letter.java:62)
at org.kopi.ebics.letter.DefaultLetterManager.createA005Letter(DefaultLetterManager.java:56)
at org.kopi.ebics.client.EbicsClient.createLetters(EbicsClient.java:224)
at org.kopi.ebics.client.EbicsClient.createUser(EbicsClient.java:205)
at org.kopi.ebics.client.EbicsClient.createUser(EbicsClient.java:533)
at org.kopi.ebics.client.EbicsClient.createDefaultUser(EbicsClient.java:578)
at org.kopi.ebics.client.EbicsClient.main(EbicsClient.java:654)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
at java.base/java.lang.Thread.run(Thread.java:832)
[WARNING]
java.lang.IllegalArgumentException: Illegal pattern character 'e'
at java.text.SimpleDateFormat.compile (SimpleDateFormat.java:846)
at java.text.SimpleDateFormat.initialize (SimpleDateFormat.java:654)
at java.text.SimpleDateFormat. (SimpleDateFormat.java:625)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.formatDate (AbstractInitLetter.java:359)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.buildHeader (AbstractInitLetter.java:249)
at org.kopi.ebics.letter.AbstractInitLetter$Letter.build (AbstractInitLetter.java:221)
at org.kopi.ebics.letter.AbstractInitLetter.build (AbstractInitLetter.java:89)
at org.kopi.ebics.letter.A005Letter.create (A005Letter.java:62)
at org.kopi.ebics.letter.DefaultLetterManager.createA005Letter (DefaultLetterManager.java:56)
at org.kopi.ebics.client.EbicsClient.createLetters (EbicsClient.java:224)
at org.kopi.ebics.client.EbicsClient.createUser (EbicsClient.java:205)
at org.kopi.ebics.client.EbicsClient.createUser (EbicsClient.java:533)
at org.kopi.ebics.client.EbicsClient.createDefaultUser (EbicsClient.java:578)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:654)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
at java.lang.Thread.run (Thread.java:832)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.127 s
[INFO] Finished at: 2020-05-27T20:29:07+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project ebics: An exception occured while executing the Java class. Illegal pattern character 'e' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

C:\Ebics\ebics-java-client-master>

After that i tried to send the INI and HIA command to the Bank. This was succesfull to swiss Postfinance.

Maybe someone can give me a hint for the error above.

Thanks a lot

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.