Forum Stats

  • 3,769,338 Users
  • 2,252,950 Discussions


SOA vs OSB - Different behavior in calling a https SOAP/ REST webservice

Vijayaragavan Ramasamy
Vijayaragavan Ramasamy Member Posts: 18 Red Ribbon
edited Feb 10, 2019 8:37PM in SOA & Process Management

I am trying to call a SOAP based webservice (a https endpoint) in SOA. I get below error:

Unable to invoke endpoint URI "https://<endpoint>" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: java.lang.RuntimeException: Unexpected error: the trustAnchors parameter must be non-empty

If i call SOAP based webservice (a https endpoint) in OSB, however, i am able to hit the webservice successfully and get a valid response.

Note: I use SOA Suite version. SOA and OSB servers are in same domain. This https soap webservice take Authorization token in header. I found a similar behaviour while invoking a REST based service(https url) in SOA and OSB where SOA call failed while OSB call was successful.

I am not able to figure out what causes this issue in SOA server.