Menu

INI and HIA request

mascho
2012-06-08
2014-06-15
  • mascho

    mascho - 2012-06-08

    Hi,

    when sending INI and HIA request I get following response from the bank's server:

    <?xml version="1.0" encoding="UTF-8" ?>
    - <ebicsKeyManagementResponse xmlns="http://www.ebics.org/H003" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Revision="1" Version="H003" xsi:schemaLocation="http://www.ebics.org/H003 &lt;a href=" http:="" www.ebics.org="" H003="" ebics_keymgmt_response.xsd"="">http://www.ebics.org/H003/ebics_keymgmt_response.xsd">
    -


    <static/>
    - <mutable>
    <ReturnCode>000000</ReturnCode>
    <ReportText>[EBICS_OK] OK</ReportText>
    </mutable>

    - <body>
    <ReturnCode authenticate="true">091207</ReturnCode>
    <TimestampBankParameter authenticate="true">2007-05-11T11:09:46.991+02:00</TimestampBankParameter>
    </body>
    </ebicsKeyManagementResponse>

    and

    <?xml version="1.0" encoding="UTF-8" ?>
    - <ebicsKeyManagementResponse xmlns="http://www.ebics.org/H003" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Revision="1" Version="H003" xsi:schemaLocation="http://www.ebics.org/H003 &lt;a href=" http:="" www.ebics.org="" H003="" ebics_keymgmt_response.xsd"="">http://www.ebics.org/H003/ebics_keymgmt_response.xsd">
    -


    <static/>
    - <mutable>
    <ReturnCode>000000</ReturnCode>
    <ReportText>[EBICS_OK] OK</ReportText>
    </mutable>

    - <body>
    <ReturnCode authenticate="true">091207</ReturnCode>
    <TimestampBankParameter authenticate="true">2007-05-11T11:09:46.991+02:00</TimestampBankParameter>
    </body>
    </ebicsKeyManagementResponse>

    So everything seems to be ok but the bank tells me the user is not initialized.
    Any hints where to investigate?

    Kind regards
    Markus

     
  • hacheni

    hacheni - 2012-06-08

    Hi,

    There is a problem with your responses. The response body contains 091207 return code and it is a key management business related problem. May be you should contact the bank server to ask about this return code.

    Kind regards
    Hedi

     

    Last edit: hacheni 2012-06-08
  • mascho

    mascho - 2012-06-08

    Hi, thanks for this hint.

    091207 means "EBICS_KEYMGMT_NO_X509_SUPPORT The bank system does not support the evaluation of X.509 data (order types INI, HIA, HSA, PUB, HCA, HCS)"

    Proposed solution is: "Embed key in XML structure of type ebics: PubKeyValueType".

    Is this something that can be easily fixed in your ebics client?

    Regards
    Markus

     
  • hacheni

    hacheni - 2012-06-08

    Hi,

    For German EBICS banks it is normal that you have this error cause the certificate itself is not sent to the EBICS server. Only public keys (Modulus and public exponent) are sent. You can fix this by removing the x509Data element from the sent INI and HIA request.

    This is done by removing related x509Data in the SignaturePubKeyOrderDataElement.java

    Kind regards
    Hedi

     
  • mascho

    mascho - 2012-06-08

    Removing appropriate elements worked fine. Do you have any plans to make this an option and support German banks officially? If so I would like to offer my help

    Markus

     
    • hacheni

      hacheni - 2012-06-08

      Yes we intend to support German banks. For this, using your experience is a good idea to reach this objective. You can test all the client feature with a German bank and if all is OK we can merge our work to have a nice Franco-German EBICS client.

       
  • Oscar

    Oscar - 2012-06-27

    I have a working version of the library for use with german banks. I don't know how easy it is to merge them together to a working client.
    Where can I send my version so you can check out if it's usable to create a 'Franco-German ebics client'. Currently it works on germans and french banks. Although I have only tested it on a german bank.

    I added the list of changes I made to the library. I also changed the formatting to my own formatting so it might be a lot of work to merge it together.

     

    Last edit: Oscar 2012-06-27
  • hacheni

    hacheni - 2012-07-16

    Hi,

    Excellent work Oscar. It is very interesting that our client will also work with German banks. You can send me the source code of your client by email at hacheni@kopileft.com. I will merge them together to finally have a Franco-German ebics client. But I may ask you some questions about some choices when merging the code. So I wonder if you could answer me.

    For code formatting it does not matter. I will fix this.

    Best regards.
    Hédi

     
  • mkurz

    mkurz - 2014-06-15

    What is the state of this?
    Oscar, could you provide the changes please?
    Thank you very much!

     
  • vishal

    vishal - 2017-05-12

    Hi

    i am new in ebics and need to implement this. But lack of information i am not getting proper way.
    can you please help me to overcome with this.

    i need to send INI and HIA request but i dont know the xml format what is need by ebics.
    i checked theire schema but i am not able to get any thing from it

    when i send request to ebics by curl its alway gives me same error message.

    <ebicsKeyManagementResponse Version="H004" xmlns="urn:org:ebics:H004">
    <static/> <mutable> <ReturnCode>091010</ReturnCode> <ReportText>[EBICS_INVALID_XML] XML nicht valide gemäß EBICS XML Schema</ReportText> </mutable>
    <body> <ReturnCode authenticate="true">000000</ReturnCode> </body> </ebicsKeyManagementResponse>

    please help me, i need the proper formate of xml

    Thanks
    looking forward

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.