httppostwithresponsewithkeystoreconstant() not able to respond with data type list of variants

A Score Level 2

Hi All,

As part of a Rest API call (post) I need to pass certificates and hence using httppostwithresponsewithkeystoreconstant() function.

However, looks like this function strictly adheres to CDT response and a type 'list of variant' is not allowed. 

I get an error message: "Expression evaluation error at function 'httppostwithresponsewithkeystoreconstant' [line 12]: Error evaluating function 'httppostwithresponsewithkeystoreconstant' : The passed parameter(s) are of the wrong type. Received the type com.appiancorp.common.xml.JaxbConversionException: JAXB was not able to produce a value for typed value TypedValue[it=197,v={}] as java class java.lang.String" while using following request

httppostwithresponsewithkeystoreconstant(
endpoint:"endpoint",
keystoreCons:cons!TEST_CERT,
paramNames:{},
paramValues:{},
headerNames:{
"Content-Type"
},
headerValues:{
"application/json"
},
body:ri!body
)

Any pointers in solving this or suggestions for other plugins are highly appreciated.

  Discussion posts and replies are publicly visible