Karate 空手道:XML-CDATA打印不是XML格式
当我打印包含CDATA的SOAP响应时,它包含gt和lt,如下所示。你能帮我把它转换成正确的xml吗?或者你能帮我验证一下响应的一些值吗Karate 空手道:XML-CDATA打印不是XML格式,karate,Karate,当我打印包含CDATA的SOAP响应时,它包含gt和lt,如下所示。你能帮我把它转换成正确的xml吗?或者你能帮我验证一下响应的一些值吗 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:processRequestResponse xmlns:ns="http://controller.core.xxx.x
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:processRequestResponse xmlns:ns="http://controller.core.xxx.xxxxx.xxxx.xxxxxx.com">
<return><?xml version="1.0" encoding="UTF-8"?>
<xxx:xxxxxxxxxxxx xmlns:xxx="http://xxxxx.com/xxxx/xxxx/xxx/response/xyz/abc">
<Header><destinationId>ABC</destinationId>
..............
..............
...............
</Body>
</xxx:xxxxxxxxxxxxxResponse></return>
</ns:processRequestResponse>
</soapenv:Body>
</soapenv:Envelope>
?xml version=“1.0”encoding=“UTF-8”?
xxx:XXXXXXXXXXX xmlns:xxx=”http://xxxxx.com/xxxx/xxxx/xxx/response/xyz/abc"
headerdestinationdabc/destinationId
..............
..............
...............
/身体
/xxx:XXXXXXXXXXXX回复
我想一行就可以了,试试这个:
* xml temp = $response//return
我想一行就可以了,试试这个:
* xml temp = $response//return