reading the error: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: unexpected message
maybe that the doc type you are sending is not supported by your partner’s system.
Or, if you are signing/encrypting the doc, the other side is not configured to do so.
But when I reprocess the document, its going fine. So, I suppose the problem is with the partner. Need to find what is cause of this problem. The problem is not clear.
Thank you rmg!, the issue is with the partner. Partner after recent infra update, is having only 5 connections for us. So, the rest requests are failing out, with this weird error.