webMethods IS (7.1.2 )is consuming a webservice which is secured.
The partner has given us certificates and partner keys. The following steps have been followed
- Configure the CA certificate directory in Cerificates in the navigation panel.
- Added a webservice endpoint alias with private key and certificates properties.
- changed the consumer wsdl to facilitate the security requirements where we added a security handler, assigned a policy name and an endpoint alias.
I am not sure if this is the right approach, or we are missing anything , but when the webservice is called we are getting the following soap fault
com.webmethods.ws.security.SecurityException: WS Security processing failed : Error while reading the private key/certificates from the Web service endpoint.
The above error has an obvious message, but wondering what might have been wrong with my configuration.