Skip to Content

Exception in B2B add-on receiver AS2 adapter

Hi All,

I am working on a PoC for SAP B2B add-on AS2 adapter. I have used plain XML with file to AS2 iFlow. To complete the loop, I have created another iFlow (AS2 to file). Its a straight forward configuration, with no MDN or encryption (plain HTTP). However while tesing the interface, I am getting this error in AS2 receiver adapter:

"Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Invalid channel configuration: com.sap.aii.af.service.cpa.impl.exception.CPAObjectException: Value with name receipient.convertCharset not available"

I have tried providing Charset encoding (UTF-8) as well as without using it. I am getting the same error in both cases. For Content-Type field, I have tried with "text/xml" and "application/xml".

Has anyone received this error? Any pointers to resolve this?

Regards,

Sanjeev.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 16, 2013 at 07:35 AM

    Hi,

    Are you transmitting EDI files?

    Kind regards,

    Dimitri

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2014 at 06:42 AM

    Hi All,

    It was a bug and SAP replied: "B2B toolkit content which is available on service marketplace, the AMDs which are uploaded on SMP for SP01 are incorrect".

    We updated our system to SP02 and problem was resolved. I was able to test the scenario end to end.

    I am getting another error now:

    "Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed;"

    This is when I try to use digital signature in the receiver AS2 adapter. Have raised another thread for this: http://scn.sap.com/thread/3479622

    Regards,

    Sanjeev.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sanjeev,


      Please deploy PIB2BPGP. If you have already deployed it, restart the system (optional, if it takes too long to restart) and check if it solves the issue. If it didn't solve the issue then check if you can download the latest patch for PIB2BSFTP. This would solve the issue.

      Regards,

      Vishnu