Looking for help?

Submit a request

Invoking REST Services from the Web-Based Process Designer in IBM BPM

Follow

Comments

4 comments

  • Avatar
    Prateek Kaushik

    CWTBG0019E: Unexpected exception during execution. Exception information: 'com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.RuntimeException: java.net.UnknownHostException: api.openweathermap.org'.

    After updating App ID variable with mu App Key it seems service is giving an above error

    0
    Comment actions Permalink
  • Avatar
    Gordon Siegfriedt

    Hi Prateek -

     

    I was able to run the service successfully in my environment just now. If you are getting that error, there must be something preventing your IBM BAW server for accessing the URL. Perhaps there is a firewall or proxy issue?

    0
    Comment actions Permalink
  • Avatar
    Ramses Zarate

    Hello,

    Do you have an example of how to generate the Swagger for the BPM Rest APIs?

    0
    Comment actions Permalink
  • Avatar
    Gordon Siegfriedt

    Hi Ramses,

    If you're using the new generation REST API, you actually don't have to generate Swagger files. They're available to download in the product at these two URLs:

    https://[server]:[port]/bpm/docs, which can be explored at this URL: https://[server]:[port]/bpm/explorer/

    https://[server]:[port]/ops/docs, which can be explored at this URL: https://[server]:[port]/bpm/explorer/?url=/ops/docs

    If you're using the previous REST API, you should be able to generate one using the steps I described in the section above called "Create Your Swagger File".

    Hope that helps!

    Gordon

    0
    Comment actions Permalink

Please sign in to leave a comment.