Webservice invocation failed, Unable to access the following endpoint(s) – Oracle SOA Suite 11g:
Some of the time we used to receive the following exception while invoking the webservice endpoints in Oracle SOA 11g. There could be a multiple reason behind this exception.
Some of the time we used to receive the following exception while invoking the webservice endpoints in Oracle SOA 11g. There could be a multiple reason behind this exception.
This blog explains the different ways to narrow down the issue and to fix the issue.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Unable to access the following endpoint(s): http://hostname:50000/XISOAPAdapter/MessageServlet?channel=:SalesForce:CC_Out_Soap_SFDC_order
Steps:-
Ping the host name:
Ping the host name:
- If the host is alive then the connectivity looks fine
- If we received Unknown host error then verify whether the host entry is available in the server host file for the host.
- If the host is configured to lookup by DNS server then verify the DNS server configuration.
Telnet to the server with the corresponding port:
- If the telnet is success then the connectivity looks fine.
- If the telnet is failed then check the network connectivity between the server and the webservice host in that particular port
Check the webservice status:
- If the network connectivity between the two servers are looks fine then check whether the webservice is up and running.
- Some cases the status of the service in the target system shows as up and running but due to some internal errors with the service the source system may not able to connect to the target service . For e.g. sometime the client will not be able to connect to the Siebel services due to some internal table locking but the status of the service will be shown as up and running in Siebel system.
Check the webservice authentication configured properly:
- If the webservice up and running properly then check whether the service is protected with username/password. If the service is protected with username/password then check the username/password configuration in the composite.xml file.
Sometimes we used to get the exception in the em console
oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://sap.int.com/XISOAPAdapter/MessageServlet?channel=*:Markets_Siebel_QA:CC_Out_Soap_SalesOrder
But the actual exception in the server log
Caused By: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Verify the certificate installed properly in the server and also the certificate not expired.