Forum Discussion
M_McDonald
16 years agoSuper Contributor
How about putting all the handles into a single property and using that as a property expansion in the request?
then in the request
def allHandles = ""es )
handleHolder.getNodeValues("//handle").each {
allHandles += "<srcDocumentHandleList>$it</srcDocumentHandleList>"
}
groovyUtils.setPropertyValue("addFromDocumentProperties", "srcDocumentHandleList", allHandl
then in the request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://digitalreefinc.com/ws">
<soapenv:Header/>
<soapenv:Body>
<ws:addFromDocuments>
<taskDescription>${addFromDocumentProperties#documentCount}</taskDescription>
<destViewHandle>${Global#BlueViewHandle}</destViewHandle>
${addFromDocumentProperties#srcDocumentHandleList}
</ws:addFromDocuments>
</soapenv:Body>
</soapenv:Envelope>