Hello,
I have a problem saving a pdf file using HTTP activity.
I received a response message
-MIME_boundary
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <m21321231dasdasdasd@apache.com>
<?xml version='1.0' ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<con1:DocumentAttachment xmlns:con1="localhost/test">
<con1:Name>001</con1:Name>
<con1:MimeType>application/pdf</con1:MimeType>
<con1:Length>54005</con1:Length>
<SOAP-ENV:Content>
<theSignedForm href="cid:m21321231dasdasdasd@apache.com"/>
</SOAP-ENV:Content>
</SOAP-ENV:Envelope>
--MIME_boundary
Content-Type: application/pdf
Content-Transfer-Encoding: binary
Content-ID: <m21321231dasdasdasd@apache.com>
%PDF
%PDF-1.5
%????
4 0 obj
<</Subtype/Image/Width 1240/Height 1754>>
stream
//String binary pdf
--MIME_boundary--
In properties (ResourcePath ) gives directory path
example:
c:\test.pdf
but when I open the file I get a message that the file is damaged