AnsweredAssumed Answered

Live recording Raw Traffic file has Escaped strings in Response Body

Question asked by JS0019 on Jul 13, 2018
Latest reply on Jul 16, 2018 by JS0019

Hi All,

 

While live recording, the raw traffic export file shows escaped strings (<, >) in the Response Payload body instead of XML tags. However the response in the VSI has actual xml tags.

 

Raw Traffic File Response: 

<body charset="UTF-8">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;ServiceResult version="2.0"&gt;&lt;ResultHeader&gt;&lt;ServiceName&gt;ServiceFrameworkException&lt;/ServiceName&gt;&lt;/ResultHeader&gt;&lt;ResultBody/&gt;&lt;ResultStatus&gt;&lt;ReturnCode&gt;1&lt;/ReturnCode&gt;&lt;ResultMessage&gt;&lt;MessageCode&gt;SLFC0999&lt;/MessageCode&gt;&lt;MessageSeverity&gt;E&lt;/MessageSeverity&gt;&lt;MessageInformation&gt;XML_PARSE_EXCEPTION_ERROR&lt;/MessageInformation&gt;&lt;MessageDescription&gt;com.slfc.framework.service.ServiceFrameworkException: ServiceMessageFactory.createServiceRequest .. Unmarshalling ServiceRequest .. org.xml.sax.SAXException: Parsing Error : Premature end of file.

 

VSI Response:

<ServiceResult version="2.0">
<ResultHeader>
<ServiceName>ServiceFrameworkException</ServiceName>
</ResultHeader>
<ResultBody/>
<ResultStatus>
<ReturnCode>1</ReturnCode>
<ResultMessage>
<MessageCode>SLFC0999</MessageCode>
<MessageSeverity>E</MessageSeverity>
<MessageInformation>XML_PARSE_EXCEPTION_ERROR</MessageInformation>
<MessageDescription>com.slfc.framework.service.ServiceFrameworkException: ServiceMessageFactory.createServiceRequest .. Unmarshalling ServiceRequest .. org.xml.sax.SAXException: Parsing Error : Premature end of file.
Line : -1
Column : -1</MessageDescription>
</ResultMessage>
</ResultStatus>
</ServiceResult>

 

Thanks,

John

Outcomes