ebics-java-client icon indicating copy to clipboard operation
ebics-java-client copied to clipboard

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

Open Vinylrider opened this issue 4 years ago • 0 comments

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 [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 ?

Vinylrider avatar Feb 24 '20 13:02 Vinylrider