Unable to resolve partner certificate for encrypting the request

Hi,

I am trying to consume a wsdl (from oracle).
I successfully imported it in the designer.
I get the certificate of the wsdl from the browser and i created a jks from these by using the following command:
keytool -importcert -alias oracle -file cert.crt -keystore oracle.jks -storepass password
In the IS Security/keystore , i put the jks file in keystoreliste and in truststorelist.

When i try to call any method from the webservice, i am getting the following error:
com.wm.util.BasisException: [SOG.ORACLE.0002] uploadFileToUcmWS: WS Security processing failed : Unable to resolve partner certificate for encrypting the request

I found a topic which seams to have the same error (https Calls - webMethods - Software AG Tech Community & Forums) but it doesn’t help me.
When i use the method getCertificate, it give me this error:
com.wm.util.BasisException: [SOG.ORACLE.0002] uploadFileToUcmWS: Server certificate rejected by ChainVerifier

Can anybody help?

Thanks
Simon

Hi,

Update:
I missed to configure the trustore alias in Security/Certificate.

Now when i make an http get, it work but when i use the ws generate from the wsdl it gives me:
uploadFileToUcmWS: A required header representing a Message Addressing Property is not present

When i loaded the wsdl i had an error because there was a “Basic128Exn256” tag which was not recognize.
So i remove the Exn256 from the tag and i successfully imported the wsdl.
Could it be the reason of my error and do you have a hint on how to resolve this?

Thanks in advance.

Hi,

Last update:
I found that in the webserviceDescriptor i had to add to policy: Adressing (Addressing) and it work.