When using the PX REST call, the plugin validates the return message to see if it's a valid JSON construct. The call I'm making does not result in a valid JSON construct, but a simple string message (A login token). I have no way to change the behaviour of the API I'm calling.
Is there any way to make the PX plugin ignore the validation, and tell it the returned message is valid?
Eric van der Hoek
Based on my analysis, Engineering should be able to return a pure string response for SOAP and REST calls.
At present, both SOAP and REST plugins lack such capability.
IDM can return this pure string based on a configuration, and this can be a worthy enhancement to IDM's SOAP and REST PX plugins since they will now be more robust and pliable.
Did you try using the SOAP PX Data element?
Please be sure to include the version you are on in any IDEA request you open on the community for this. Thank you.
Well, no. Because it's definatly a REST call I have to do to the endpoint.
It seems the question here is if there is a way to change the behavior to return a string object instead of JSONObject with all the accompanied library function calls that are made on this string.
This can be done – you could add an option to the plugin to return the response in pure string format. For SOAP:
And here for REST: