1 Reply Latest reply on Jul 9, 2019 11:59 AM by KRaj

    Error while invoking OAuth2 REST service from BPEL


      Hi Experts,


      I am trying to invoke a OAuth2 REST service from BPEL

      Using the below WSM policies

      1) http_outh2_token_client_policy

      2) oauth2_config_client_policy

      Have setup recommended properties and ends up with the below error at runtime.

      WSM-00399 :  OAuth2 request sent to OAuth2 server failed with Message :  "java.lang.String cannot be cast to java.lang.Integer".

      Any idea? This is a critical issue for us, hence any inputs are appreciated