user2689782
user2689782

Reputation: 757

SOAPUI - GZ file in Response

I am using SOAPUI. It invokes a SOAP call, which downloads a gz file. The response includes a gz file. In the Attachments tab of the response, I do see a file abc.gz, with Content-type application/gzip, and Type XOP.

I have tried setting up the Request Properties - I have Enable MTOM as true. I have also specified a dump file.

The dump file is not a gzip file, but a XOP file

My question is - how do I extract just the gz file from this?

The XOP file looks like

--uuid:273aa462-94dc-405a-9972-82904edfb02e
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:abcResponse xmlns:ns2="<url>"><return><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[email protected]"/></return></ns2:abcResponse></soap:Body></soap:Envelope>
--uuid:273aa462-94dc-405a-9972-82904edfb02e
Content-Type: application/gzip
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>
Content-Disposition: attachment;name="abc.gz"

<binary data>

Upvotes: 0

Views: 576

Answers (0)

Related Questions