Question for the experts -- What happens in the generated VSM? Does Aman need to add any sort of conversion from Little Endian to UTF-8 using a Scriptable DPH in the LISTEN step for payloads to parse and playback correctly?
I am like Casey in that I have never really run into unicode encodings.
I noticed that the recorder generated a proper VSI. But, the VSM (Listen Step) only contains the SOAP DPH.
I do not see any signs of applying the "LE" encoding on incoming requests by the VSM.
Code below for example purposes only -- not sure this how it would work:
try {
byte[] bodyBytes = lisa_vse_request.getBodyAsByteArray();
lisa_vse_request.setBody( new String(bodyBytes, "UTF-8") );
} catch (UnsupportedEncodingException e) {
// TODO:
}
If the answer is "yes he needs to add in a conversion", the Scriptable DPH would be the first DPH in the chain and occur prior to the Soap DPH.