Errors returned to a client sending a SOAP request

 

+

Search Tips   |   Advanced Search

 

  1. SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket; java.net.ConnectException: Connection refused: connect

  2. javax.security.cert.CertPathBuilderException: No end-entity certificate matching the selection criteria could be found.

 

SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket; java.net.ConnectException: Connection refused: connect

The most likely cause of this refused connection is that it was sent to the default port, 80, and an HTTP server is not installed or configured.

To verify this situation, send the message directly to the SOAP port; for example, to http://hostname:9080. If the message is sent correctly, there are two ways to resolve the problem:

  • Continue specifying port 9080 on SOAP requests.

  • If an HTTP server is not installed, install one and the associated plug-in component.

  • If an HTTP server is installed:

    • Regenerate the HTTP plug-in configuration in the administrative console by clicking...

      Environment | Update WebServer Plugin

      ...and restarting the HTTP server.

    • If the problem persists, view the HTTP server access and error logs, as well as...

      plugin_install_root/logs/web_servername/http_plugin.log

 

javax.security.cert.CertPathBuilderException: No end-entity certificate matching the selection criteria could be found

This error usually indicates that new or updated security keys are needed. The security key files are:

  • SOAPclient
  • SOAPserver
  • sslserver.p12

In an installed application, these files are located in the: install_dir/installedApps/appname.ear/soapsec.war/key/ directory. After replacing these files, stop and restart the application.

To replace these files in a SOAP-enabled application that is not yet installed:

  • Expand the appname.ear file.
  • Expand the soapsec.war file.
  • Replace the security key files in thekey/ directory.
  • After you replace these files, install the application and restart the server.


 

Related Tasks

  1. View JVM Logs
  2. UDDI, Web Service, and SOAP component troubleshooting tips
  3. IBM Support
  4. Troubleshoot by task
  5. Troubleshoot by component
  6. Troubleshoot testing and first time run problems
  7. Obtaining help from IBM

 



 

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.