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

pub.client.oauth:executeRequest Microsoft Dynamics CRM 365

  • 1.  pub.client.oauth:executeRequest Microsoft Dynamics CRM 365

    Posted Sat June 15, 2019 06:05 AM

    I tried to collect some information to use Dynamics CRM 365 as get method.
    The main difficulty is for auhentification base on OAuth protocol.
    So thanks to theses following links :
    [url]https://medium.com/capgemini-dynamics-365-team/dynamics-365-v-9-webapi-authentication-examples-in-java-60a04e36dac9[/url]
    [url]https://www.c-sharpcorner.com/article/generate-access-token-for-dynamics-365-single-tenant-server-to-server-authentica/[/url]

    I find a way to write a java service getAcessToken wich give me a token (I think because the return of my sarvice is a big string).

    So after that I tried to use pub.client.oauth:executeRequest because I thing it is the better way tomake a get requestion.
    I fill the following data :
    provider = Other
    clientID = ID Client in my Azure Console
    clientSecret = Is my secret key generated on my Azure Console
    accessToken (the return of my getAccessToken method)
    ressourceURI = https://.crm.dynamics.com
    headers (name, value) = My parameters from oData equivalent to a fectchxml request in MS Dynamics CRM 365
    responseDataType = string

    But it missed providerClass and I don’t know what to use


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: pub.client.oauth:executeRequest Microsoft Dynamics CRM 365

    Posted Fri June 21, 2019 01:17 AM

    Please check the usage of service pub.client.oauth:executeRequest in document <Integration_Server_Built_In_Services_Reference>. It has pretty detail information how to set this provider class.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB