Application client sending SOAP request receives errors
Use this information to diagnose and troubleshoot problems with clients sending SOAP requests. What kind of problem are you seeing?
- SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket; java.net.ConnectException: Connection refused: connect
- javax.security.cert.CertPathBuilderException: No end-entity certificate matching the selection criteria could be found.
If none of these errors match the one you see:
- Browse the appserver logs. Look up any error or warning messages in the message table.
View install_dir/server/SystemErr.log and SystemOut.log for clues. See View JVM logs for more information.
- See UDDI, Web service, and SOAP component troubleshooting tips for more information.
If you do not see a problem that resembles yours, or if the information provided does not solve your problem, see Troubleshooting help from IBM.
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 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 the plugin_install_root/logs/web_server_name/http_plugin.log file for more information.
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/application.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 application.ear file.
- Expand the soapsec.war file.
- Replace the security key files in the key/ directory.
- After you replace these files, install the application and restart the server.
For current information available from IBM Support on known problems and their resolution, see the IBM Support page.
IBM Support has documents that can save you time gathering information needed to resolve this problem. Before opening a PMR, see the IBM Support page.
Related tasks
Troubleshooting Web services
Related Reference
Application deployment troubleshooting tips
Reference topic