Skip to Content
author's profile photo Former Member
Former Member

Error in ELSTER on XI

Hi Experts,

we have set up the wage-tax return scenario ELSTER on the XI 7.0 system to replace the communication via Business Connector. We did the configuration following the description from SAP.

The messages are processed apparently fine, but when I look deeper into the monitoring, I see error messages from the modules on the SOAP communication channel:

Error: class com.sap.aii.af.mp.module.ModuleExceptionParseException in Method: MessageProcessorElsterHCMReceiveResponseModule: decodeBase64( byte[] ). Message: Base64 decode( String, boolean )Invalid character: <.. To-String: java.text.ParseException: Base64 decode( String, boolean )Invalid character: <..

Message processing continues afterwards, and the message ist marked as "successful" in the monitoring.

The message payload contains the following text (after the error message from above):

<XML_OUT>&lt;?xml version="1.0"

encoding="ISO-8859-1"?><Elster xmlns="http://www.elster.de/2002/XMLSchema"><TransferHeader

version="8"&gt;&lt;Verfahren&gt;ElsterAnmeldung&lt;/Verfahren&gt;&lt;DatenArt&gt;

UPDATE:

There are somme messages that use the same way through XI, but have a slightly different message content. The responses of these messages are processed without any problems.

Is it possible, that the MessageProcessorElsterHCMReceiveResponseModule just tries to decode the incoming message from base64, and if the message is not coded in base64, it is just passed with the error "remark" from above?

(I now noticed, that the "<" character is not part of the base64 code table)

Thanks in advance

dee-cee

Edited by: dee-cee on Mar 30, 2011 1:12 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 31, 2011 at 11:29 AM

    It is expected that parts of the ELSTER response message are encrypted.

    For example following elements should be base64 encoded:

    TransportSchluessel

    Datenlieferant

    Nutzdaten

    Datenteil

    When any of this tag exists, it should contain base64 values, otherwise the content of the elements is ignored in processing and returned empty.

    Report to SAP

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the reply, Stefan.

      In message monitoring I can see, that the TransportSchluessel element is encoded in base64, but neither of the others you mentioned is (since Nutzdaten is part of the DatenTeil, I can't even imagine how this should work). Those others contain readable data. But actually this doesn't show, in which encoding the data reached the XI system, because I can't reproduce, what exacty the adapter module ElsterHCMReceiveResponseModule did in between and what it possibly has decoded yet.

      Is there a way to trace the work of the adapter modules?

      Regards

      dee-cee

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2014 at 12:31 PM

    Hello Experts,

    I am stuck now with the same problem for a couple of days. Have you solved this problem?

    If I run RPUTX7D0 without an XML file all goes fine and I receive the expected response from the Clearingstelle. But as soon as I upload an XML file generated through PB2A I get the very same error:

    Error: class com.sap.aii.af.mp.module.ModuleExceptionParseException in Method: MessageProcessorElsterHCMReceiveResponseModule: decodeBase64( byte[] ). Message: Base64 decode( String, boolean )Invalid character: <.. To-String: java.text.ParseException: Base64 decode( String, boolean )Invalid character: <..

    Any help would be very appreciated!

    Kamran

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.