Hi guys, thanks for the responses. The query is this:
GET_PARTNERINF[0].PARTNERINF[0].PARTNER.PARTNRTYPE[‘CUSTOMER’].^.PARTNRIDX[0].TEXT
The element is not a mixed data element. Querying the document elements in flows using wql and xql was not a problem, but migrating the problematic code to flows is not an option I have available.
I just now tried the ‘xml:space=preserve’ suggestion, but I still ended up with the same trimmed result.
The whitespace is being trimmed even when the data element is enclosed in a CDATA tag, is this proper behaviour? For example, an encoded or cdata enclosed string of ‘ABCD[sp][sp][sp][sp]1234’ would result in ‘ABCD[sp]1234’.
I ended up writing a hack that first parses the the source document, encodes any multispace characters as escape characters, run the document through the WIDL mapper, then decode the escape characters back to space characters. Not pretty nor efficient, but it’s working now.
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods