IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

Error creating Consumer Web Service Descriptor

webMethods Community Member

webMethods Community MemberTue April 30, 2013 12:17 PM

  • 1.  Error creating Consumer Web Service Descriptor

    Posted Sun April 28, 2013 12:17 PM

    Hi Friends

    IS Version: 8.2.2.0

    I am trying to create a new Web Service Descriptor from designer. The wsdl is present on another server in the local network and is accessible from the browser.

    I select the source type as ‘Consumer’ and provided the https wsdl url in file/url area.
    I selected ‘Document type generation > Content Model Compliance’ as None and ‘Enforce WS-I Basic Profile 1.1 compliance’ as No.

    When I click finish I get the following error…

    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    From the internet I read that I need to import and place the certificate in the keystore. I had imported the public key certificate to both key and trust store (just in case…!) of the IS server. I had reloaded the key and trust stores, cleared the ssl cache and even restarted the server.

    But I still get the same ‘PKIX path building failed’ error. Anybody any suggestions.

    Thank you and regards

    Thahir


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 06:06 AM

    Hi

    I noticed a strange thing, I had been able to create the Web Service Descriptor from Developer. So maybe I need to modify some setting on the designer configuration or something here is buggy.

    I changed the Designer > Window > Preferences > General > Network Connections > Active Provider to Direct to avoid proxy. I could not think of anything more.

    Frankly developing on Designer is on the first time, I had been a developer user for years now. So assume a newbee here…

    Any takers . :slight_smile:


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 11:48 AM

    Is this the full description of error you are seeing or any part is missing?

    “PKIX path building failed”

    Empower KB #: 1743388


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 12:04 PM

    Hi RMG

    Good to see you…

    No the full description as shown in the initial email is…

    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Thahir


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 12:19 PM

    Please check this Empower KB article very close to your error:

    KB #: 1740466

    Resolution:

    When you try to generate a WSD consumer for an https webservice from Designer using the WSDL URL it fails with below error:

    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
    PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to target Requested

    Solution:

    1. Modify the Designer/Eclipse installation folder, open the config.ini file. i.e. SAG_Home\eclipse\v39\configuration\config.ini (v39 might vary based on the installation) & add the below two lines?
      javax.net.ssl.trustStore=C:\keystore\localhost.jks
      javax.net.ssl.trustStoreType=JKS

    2. Provide the correct trustStore path in the above line according to the file system path with the correct separators.

    3. Restart the Designer and retry the scenario

    For running the webservice (Creating an Endpoint Alias for a Consumer Web Service) please refer to “8-2-SP2_Administering_Integration_Server.pdf” page number: 219

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 12:25 PM

    RMG Thanks Bro

    I will try that and post the results.

    Wondering how and why Developer worked without the ca certs installed…!

    :shock:

    Thahir


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Error creating Consumer Web Service Descriptor

    Posted Mon April 29, 2013 12:33 PM

    It’s a different tool and Eclipse very rigid: :smiley:

    good luck!


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Error creating Consumer Web Service Descriptor

    Posted Tue April 30, 2013 06:27 AM

    Thanks RMG.

    It worked after adding the two ssl configuration entries.

    Thahir


    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: Error creating Consumer Web Service Descriptor

    Posted Tue April 30, 2013 12:17 PM


  • 10.  RE: Error creating Consumer Web Service Descriptor

    Posted Wed April 26, 2017 05:53 AM

    Hi ,

    I am facing the same issue. I did the below steps.

    Opened the consumer wsdl URL in browser.
    Downloaded the root,intermediate and the end user certificate.
    Created a truststore and imported the above mentioned certificates.
    Gave this path as a keyStore path in the config file .
    But,still i face the same error.

    Sec method:
    I installed the certificates to the CAcerts fiel present in Designer/jvm/ location .But , still facing the same error.

    Request your help in the same.

    I am able to use this WSDL URL from my local designer client but it fails when I try from the designer installed in the server location.

    The JVM set in environment variables is the IS JVM (not the designer JVM).

    I tried the same steps in cacerts file inside IS JVM but still the same error.

    Please let me know if my steps are incorrect.

    Thanks,
    Sathya


    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Error creating Consumer Web Service Descriptor

    Posted Wed April 26, 2017 11:29 AM

    Hi Sathya,

    please provide your wM Version you are working with.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 12.  RE: Error creating Consumer Web Service Descriptor

    Posted Thu April 27, 2017 03:47 AM

    Hi Holger,

    The issue is resolved, it is due to some network level policy change in the organization .

    Thanks,
    Sathya


    #webMethods
    #Integration-Server-and-ESB