Forum Discussion

MartinSpamer's avatar
MartinSpamer
Frequent Contributor
11 years ago

XML & Outline views broken in response

This but exists in both Community and Pro, but for some reason I cannot post in Pro-Bugs.

- soapUI Pro 4.5.2 / Build Date: 20130522-1354

The XML view Tab and Outline view Tab on Responses are broken, showing the following:

<html>
<head>
<meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/>
<title/>
</head>
<body/>
</html>


Even when the Response is valid XML.

HTTP/1.1 200 OK
Date: Wed, 05 Jun 2013 12:14:16 GMT
Server: Apache/2.2.23 (Amazon)
Content-Encoding: gzip
Pragma: no-cache
Expires: -1
Cache-Control: no-cache; no-store
P3P: CP="CAO PSA OUR"
X-UA-Compatible: requiresActiveX=true
Set-Cookie: cust_lang=en-gb; expires=Wed, 08 Jan 3000 00:00:00 GMT; path=/; domain=williamhill-sportsbettingdev.com
Set-Cookie: cust_prefs=en|ODDS|form|TYPE|PRICE|||0|SB|0|0||0|en|0|TIME|TYPE|0|-1||0||0|1; expires=Wed, 08 Jan 3000 00:00:00 GMT; path=/; domain=williamhill-sportsbettingdev.com
Set-Cookie: cust_prefs=en|ODDS|form|TYPE|PRICE|||0|SB|0|0||0|en|0|TIME|TYPE|0|1||0||0|1; expires=Wed, 08 Jan 3000 00:00:00 GMT; path=/; domain=williamhill-sportsbettingdev.com
Content-Length: 507
Connection: close
Content-Type: text/html;charset=utf-8



<TopX version="1.0" locale="gb" server_time="2013-06-05 12:14:16">
<number_bets="5">
<bets>

<bet name="Pakistan" ev_oc_id="869" ev_id="80" lp_num="4" sport_id="6"\
lp_den="5" fb_result="H" weight="500" sort="HH" ew_avail="N" ew_fac_num="" \
ew_fac_den="" hcap_desc="" tooltip_desc="Pakistan v West Indies - Match Betting" ev_mkt_id="410" mkt_name="Match Betting"/>

<bet name="England" ev_oc_id="865" ev_id="78" lp_num="8" sport_id="6"\
lp_den="13" fb_result="H" weight="500" sort="HH" ew_avail="N" ew_fac_num="" \
ew_fac_den="" hcap_desc="" tooltip_desc="England v New Zealand - 3rd ODI - Match Betting" ev_mkt_id="408" mkt_name="Match Betting"/>

<bet name="India" ev_oc_id="867" ev_id="79" lp_num="11" sport_id="6"\
lp_den="10" fb_result="H" weight="500" sort="HH" ew_avail="N" ew_fac_num="" \
ew_fac_den="" hcap_desc="" tooltip_desc="India v South Africa - Match Betting" ev_mkt_id="409" mkt_name="Match Betting"/>

<bet name="Denmark" ev_oc_id="833" ev_id="71" lp_num="2" sport_id="9"\
lp_den="9" fb_result="H" weight="500" sort="MR" ew_avail="N" ew_fac_num="" \
ew_fac_den="" hcap_desc="" tooltip_desc="Denmark v Georgia - 90 Minutes" ev_mkt_id="400" mkt_name="90 Minutes"/>

<bet name="Uruguay" ev_oc_id="836" ev_id="72" lp_num="13" sport_id="9"\
lp_den="10" fb_result="H" weight="500" sort="MR" ew_avail="N" ew_fac_num="" \
ew_fac_den="" hcap_desc="" tooltip_desc="Uruguay v France - 90 Minutes" ev_mkt_id="401" mkt_name="90 Minutes"/>

</bets>
</TopX>

2 Replies

  • MartinSpamer's avatar
    MartinSpamer
    Frequent Contributor
    Screenshots




  • MartinSpamer's avatar
    MartinSpamer
    Frequent Contributor
    Also when the content type is set as:


    Content-Type: application/json;charset=utf-8


    The response panel tries to interpret it as xml.