Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Silverlight recording fails on replay, binary data in script instead of XML.

$
0
0
Silverlight is a technology which uses web service calls in the backend. In Silverlight applications, web service calls are compressed in binary format, during recording these calls are transformed into XML. However, it can happen that instead of displaying xml in the script binary data is displayed due to the inclusion of non-printable characters, which the editor cannot display. The problematic character in this instance is the character after the “you” (hex code 0x80), it’s non-printable and therefore the whole block cannot be treated as valid XML. By referring to the UTF-8 table you will be able to distinguish which characters are printable and which are not through their UTF-8 (Hex) representation ( http://www.utf8-chartable.de/unicode-utf8-table.pl ), characters without a Hex representation are non-printable, and thus are not valid. The data is opaque to the web engine and the actual Silverlight transformation, so encoding and decoding will still work correctly for data being submitted to the server. However, it is important to realize that the data may need customization or that the web server itself may reject non-printable characters resulting in replay failing with error such as HTTP: 500 – internal server errors.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>