Field Service

Get Involved. Join the Conversation.

Topic

    Nandu Gupta
    Oracle Field Service Cloud SOAP authentication
    Topic posted October 1, 2019 by Nandu GuptaGreen Ribbon: 100+ Points, tagged API / Integration 
    19 Views, 1 Comment
    Title:
    Oracle Field Service Cloud SOAP authentication
    Summary:
    With the August 2019 (19C) release, MD5 authentication support, used by SOAP APIs have been removed.
    Content:

    With the August 2019 (19C) release, MD5 authentication support, used by SOAP APIs have been removed. We have an object event handler that sends tickets from OSC to OFSC, which uses SOAP to do authentication and now with 19C we have to start using Client ID/Client Secret. I have updated the code to use them but now we have to hash the authorization header using SHA256 instead of MD5, I am having difficulty. Existing code was using "md5" built-in function to hash the value, i updated the code to use "hash" function, but I get an error stating "undefined function hash()". Can someone shed some light or put me on the right path? I have attached the error screenshot and my code block.

    here's the link i used to create my  'user' structure as authentication. https://docs.oracle.com/en/cloud/saas/field-service/19c/faams/activity-management-api-overview.html#c_User_Authentication_Structure_activity_api

     

     

     

    Version:
    19C
    Document:
    pic1.png (13KB)
    Document:
    pic2.png (67KB)

    Comment