on 12-16-2013 6:59 AM
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.
Hi,
Are you transmitting EDI files?
Kind regards,
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri,
Just tried with that option as well, but no luck. I was expecting, since I am using plain xml the Content-Type should be text/xml. Was your scenario to convert the message to EDI format?
A couple of other things to note:
1) I have not used party, rather same Business Component for sender and receiver.
2) I have used same AS2name for both sender and receiver. Does this need to be different?
3) Have routed my message back to PI server, where it is received by another interface within same Business Component.
Best Regards,
Sanjeev.
Hi Dimitri,
Thanks for your response. I believe, I have come across a bug here. Error message says": Value with name receipient.convertCharset not available", which is spelt wrong. When I checked the status of channel in cache monitor, I couldn't find any property with receipient.convertCharset, however I found a property with name "recipient.contentType" and this property has the parameter set in it as text/xml. Will raise an OSS with SAP to check if this is really a bug.
Appreciate your help so far! Points awarded for your help so far.
Regards,
Sanjeev Shekhar Singh.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.