webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unable to resolve partner certificate for encrypting the request

  • 1.  Unable to resolve partner certificate for encrypting the request

    Posted Fri August 30, 2019 06:08 AM

    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


    #API-Management
    #soa
    #webMethods


  • 2.  RE: Unable to resolve partner certificate for encrypting the request

    Posted Mon September 02, 2019 05:23 AM

    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.


    #API-Management
    #webMethods
    #soa


  • 3.  RE: Unable to resolve partner certificate for encrypting the request

    Posted Mon September 02, 2019 07:25 AM

    Hi,

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


    #webMethods
    #API-Management
    #soa