I have to call a secure WCF service from java using mutual authentication.
Everything works fine except I\'m unable to send messages which are greater than 48680 bytes in size.
Finally, I resolved the issue.
The problem was the following:
cryptographic service provider of the given .net client supports tls renegotiation
cryptographic provider of the java-client does not support tls renegotiation
on the side of service there was no ClientCertNegotiation option set, so java client was not able to renegotiate.
.net service was not responding to java-client that was waiting for the data, because this service expected a client-certificate, but the client was not able to provide it, as renegotiation is not supported.