是否有格式化SoapUI XML请求体的键盘快捷键?我尝试了Alt+F
但没有工作。
答案 0 :(得分:2)
Alt + F是组合。也许你的期望与工具的能力不匹配?
当我有这个XML时:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:GetList>
<urn:Qualification>'1' LIKE "%1"</urn:Qualification>
<urn:startRecord></urn:startRecord>
<urn:maxLimit></urn:maxLimit>
</urn:GetList>
</soapenv:Body>
</soapenv:Envelope>
然后按alt + F我得到这个XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:GetList>
<urn:Qualification>'1' LIKE "%1"</urn:Qualification>
<urn:startRecord/>
<urn:maxLimit/>
</urn:GetList>
</soapenv:Body>
</soapenv:Envelope>
此外,您应该将光标放在XML编辑窗口中,否则您将获得“文件”菜单下拉列表