So here's a tricky problem.
I'm building an integration with Salesforce using IRD. Part of this is to use the "query" method of the SF API to return a specific account's details. Which involves querying based on a custom field containing a string value. So, I need to pass a value to the web service like this:
SELECT ID, Name FROM ACCOUNT WHERE Custom_Number__c = '99999999'
This works perfectly in SOAP UI. However when you attempt to do this in IRD, it fails, because IRD uses single quotes as it's delimiter. Huzzah!
I've found one article on the support site regarding the database action block which suggests how to fix this, but nothing regarding doing it for a web service call. The answer for the database block btw was "remove the quotes and it will work". However, SF can't handle the query without the single quotes. I've tried various iterations of concatenating variables, replacing punctuation with hex values, etc etc. Nothing has worked so far.
So... as far as I can see I have 2 options, find some weird URS magic that lets me escape the characters (backslash doesn't work btw) or build a custom web service to talk to the web service, which is not out of the question but isn't my favourite idea either.
Anyone found a way around this? Or got some idea of something I could try?