ответ:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header>
<platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2014_2.platform.webservices.netsuite.com">
<platformMsgs:nsId>WEBSERVICES_TSTDRV1371590_041220151334115279325827527_fefe8c</platformMsgs:nsId>
</platformMsgs:documentInfo> </soapenv:Header> <soapenv:Body>
<addResponse xmlns="">
<platformMsgs:writeResponse xmlns:platformMsgs="urn:messages_2014_2.platform.webservices.netsuite.com">
<platformCore:status xmlns:platformCore="urn:core_2014_2.platform.webservices.netsuite.com" isSuccess="true"/>
<platformMsgs:baseRef xmlns:platformCore="urn:core_2014_2.platform.webservices.netsuite.com" internalId="5450" type="customer" xsi:type="platformCore:RecordRef"/>
</platformMsgs:writeResponse>
</addResponse>
</soapenv:Body>
</soapenv:Envelope>
как я могу получить внутренний идентификатор этого xml, используя groovy, мой код:
def slurper = новый XmlSlurper().parseText(response.text);