Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Axis2 Client throws javax.net.ssl.SSLHandshakeException

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm trying to call a web service that over https.
A client has given me his certificate and we have placed it in an oracle wallet (i.e. 10.1.3 oracle application server), on the same server that our client has been deployed to.
Before I call the clients web service using the generated Stub (i.e. created from the client wsdl), I set the following system properties in my code.

System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
System.setProperty("java.protocol.handler.pkgs","HTTPClient");
System.setProperty("oracle.wallet.location",Z:\oracle\wallet);
System.setProperty("oracle.wallet.password",football123);

stub.sendSportData(sportDocument,authHeaderDocument);


Every time I call the stub I get the following exception being thrown:-

org.apache.axis2.AxisFault: Remote host closed connection during handshake org.apache.axis2.AxisFault: Remote host closed connection during handshake
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Caused by: java.io.EOFException: SSL peer shut down incorrectly

The Client does have a valid certificate that has been Issued to/by correctly and its validation dates are correct.

Has anybody got any ideas what could be causing this??

Mat





 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic