Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

APIGEE X JAVA Callout try to initialize satatic class

Hello,

I'm developing a java jar that validates SAMLResponse "signature" and "decryption".  I used "onelogin lib".

When running, I got this error message 

 

 

 

{
    "fault": {
        "faultstring": "Failed to execute JavaCallout. Could not initialize class com.onelogin.saml2.util.Util",
        "detail": {
            "errorcode": "steps.javacallout.ExecutionError"
        }
    }
}

 

 

 

On my local environment, my code is working.

For the build, i used to ways :

  • import dependencies on my shared flow next to the jar
  • add the dependecies inside the jar 

==> i got the same error message

2022-10-03 13_06_37-apigee-samlresponse [C__Users_yahyaouihi_Desktop_apigee-saml-response-proxy_apig.png2022-10-03 13_05_02-apigee-samlresponse [C__Users_yahyaouihi_Desktop_apigee-saml-response-proxy_apig.png2022-10-03 13_05_34-apigee-samlresponse [C__Users_yahyaouihi_Desktop_apigee-saml-response-proxy_apig.png

 

0 3 159
3 REPLIES 3