Hi Samy,
thank you for the reply. However, there are a few catches. For one, the response doesn't display on the XML response viewer. It only displays on the "Raw" response tab, despite the first part having Content-Type: text/xml; charset=UTF-8 in its header.
To answer your question:
1) The main message and its attachment are both XML documents (Content-Type: text/xml; charset=UTF-8 )
2) Yes, that is exactly what I want to do.
Ok, I don't insist on property transfer, I am ok with doing it with the Groovy script. Please, can you provide a sample how to access the MIME attachment via Groovy? Even as a plain text, I can parse it from there. I tried with the XMLHolder na ran into problems because of the MIME header.
My response, as displayed in the Raw response tab:
HTTP/1.1 200 Apple
Date: Wed, 18 Nov 2015 14:07:22 GMT
Server: Apache
Content-Length: 16633
Content-Encoding: gzip
Vary: User-Agent
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: multipart/mixed; boundary="----=_Part_61_1965847066.1447855642896"
------=_Part_61_1965847066.1447855642896
Content-Type: text/xml; charset=UTF-8
Content-ID: 1447855642896.1811071090@app253.snv.ariba.com
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.028/Private.dtd">
<cXML timestamp="2015-11-18T06:07:22-08:00" payloadID="1447855642896-4009407626544432757@216.109.111.75">
<Response>
<Status code="200" text="OK"/>
<DataResponse>
<Attachment>
<URL>1447855642895.1673476516@app253.snv.ariba.com</URL>
</Attachment>
</DataResponse>
</Response>
</cXML>
------=_Part_61_1965847066.1447855642896
Content-Type: text/xml; charset=UTF-8
Content-ID: 1447855642895.1673476516@app253.snv.ariba.com
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.028/InvoiceDetail.dtd">
<cXML payloadID="Payload-4683743002075904415" signatureVersion="1.0" timestamp="2015-11-16T14:53:16.456+0100" version="1.2.028"><Header><From><Credential
domain="NetworkID"><Identity>AN0T</Identity></Credential><Credential
domain="VendorID"><Identity>1</Identity></Credential><Credential
domain="PrivateID"><Identity>12</Identity></Credential></From><To><Credential
domain="NetworkID"><Identity>AN010T</Identity></Credential></To><Sender><Credential domain="NetworkID"><Identity>AN0101</Identity><SharedSecret>ar4</SharedSecret></Credential><UserAgent>manual post - SOAUI</UserAgent></Sender></Header>
<Request Id="cXMLData" deploymentMode="test"></Request></cXML>
------=_Part_61_1965847066.1447855642896--
Thank you very much,
Filip