If you have ever tried to open an excel document and received the error that says "There was a problem sending the command to the program", you can fix it by doing the following:


  • Open Excel 2007
  • Open the Menu in the top left
  • Click the "Excel Options" button 
  • Click the advanced tab on the left of the options screen
  • Under the general options uncheck the box "Ignore other application that use Dynamic Data Exchange (DDE)"   

Webservice client ignore SSL certificate errors


If you are dealing with a web service call using the Axis framework, there is a much simpler answer. If all want is for your client to be able to call the SSL web service and ignore SSL certificate errors, just put this statement before you invoke any web services:
System.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory");
The usual disclaimers about this being a Very Bad Thing to do in a production environment apply.
I found this at the Axis wiki.
top