Web Services Issues
Issue | Cause | Diagnosis | Resolution |
Index out of bounds while calling a webservice during runtime. | Sometimes, the ID required for the API call is not retrieved or passed correctly from the source. | Check the source code or configuration where the webservice call is initiated. | Correct Source Implementation: Ensure that the source code or configuration responsible for initiating the webservice call correctly retrieves and passes the required ID. |
Whenever a request is received from a client or if the client hits the SOAP Provider, the system throws a SOAP fault exception stating that the creation time is ahead of the current time. | This issue occurs when the clock of the machine (where the client hits the service) is not in sync with the clock on the client's machine. | The error logs show a severe validation issue related to the timestamp: com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl validateTimestamp This indicates that the timestamps in the SOAP requests are not aligning due to time discrepancies between the machines involved. | Ensure that the machine clocks on both the client side and the server side (where the client hits the services) are synchronized. Additionally, you need to change the SecurityEnvironmentHandler in the request to accommodate the synchronized time settings. |
Using SSL to access webservice providers. When we try to access the Adeptia server, the attempt fails. | The error is thrown when the SSL certificate being used is non-existent or invalid. | javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated This indicates that the SSL handshake failed because the server's identity could not be verified, likely due to a missing or invalid SSL certificate. | Verify that a security policy has been selected for the webservice provider and that the SSL certificate is valid. Ensure the client's trust store includes the server's certificate or the certificate authority (CA) that signed the server's certificate. Restart the relevant services after updating or installing the certificate. |
All Rest providers are failing | there is custom plugin which do not have proper finally block to handle the cache and open connection |
| In the custom Workflow , there is custom plugin which do not have proper finally block to handle the cache and open connection. |