This is regarding problem with C++ using gsoap. I am new to this technology. So kindly help me.

Problem Description
My agent application (which is in c++) registers to a secured server i.e https enabled (which is in java). While registering it throws the following error :

2009-12-15 19:31:43 :INFO11187:t4: SOAP FAULT: SOAP-ENV:Client
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure"
2009-12-15 19:31:43 :INFO11187:t4: Detail: SSL connect failed in tcp_connect()

When i debugged using /D SOAP_DEBUG option i got the Test.log with the following message

Connect/reconnect to host='abc.com' path='//xyz/services/agentPort' port=100004
Opening socket 9 to host='abc.com' port=2222
soap_instantiate_SOAP_ENV__Fault(-1, , )
Instantiated location=7dfa8
Close socket 9
Free namespace stack
Free any remaining temp blocks
Free attribute storage
Free pointer hashtable
Free ID hashtable
Free all soap_malloc() data

If anyone can point out the root cause of why this is happening it will be a great help.