Application client sending SOAP request receives errors
- Overview
- 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 can be found.
Overview
Browse the appserver logs. Look up any error or warning messages in the message table.
Review appserver logs...
- install_dir/myserver/SystemErr.log
- install_dir/myserver/SystemOut.log
See also:
- UDDI, Web service, and SOAP component troubleshooting tips
- Troubleshooting help from IBM
- IBM Support
- IBM Support - Must Gather
SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket; java.net.ConnectException: Connection refused: connect
This refused connection may have been sent to the default port, 80, and an HTTP server is not installed or configured. To verify, send message directly to the SOAP port; for example, to http://hostname:8007. If the message is sent correctly, there are two ways to resolve the problem:
- Continue specifying port 8007 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 admin console...
Environment | Update WebServer Plugin
- If the problem persists, review...
- HTTP server access and error logs
- PLUGIN_HOME/logs/web_server_name/http_plugin.log
javax.security.cert.CertPathBuilderException: No end-entity certificate matching the selection criteria can 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...
install_dir/installedApps/myapp.ear/soapsec.war/key/After replacing these files, stop and restart the application.
To replace these files in a SOAP-enabled application not yet installed:
- Expand the myapp.ear file.
- Expand the soapsec.war file.
- Replace the security key files in the key/ directory.
- Install the application and restart the server.
Related tasks
Troubleshooting Web services
Application deployment troubleshooting tips