joaorosa |
Newbie |
|
Dublin |
|
|
None Specified |
|
Tuesday, March 24, 2015 |
Tuesday, March 24, 2015 2:09:04 PM |
1 [0.01% of all post / 0.00 posts per day] |
|
Hi all,
I have a doubt, and I'm fighting against it in the last two days. In CLI of the RaptorXML+XBRL I can do ZIP files validations like this:
RaptorXMLXBRL.exe xbrl --parallel-assessment --listfile c:\filelist.txt
And my file list has the following instructions:
c:\Files.zip|zip\*.xbrl
And the CLI command works as expected, validate the files in the ZIP file.
But in our system we want to use the HTTP server included in the product.
To do an HTTP POST to validate an XBRL file we use (the raw form values):
--8d2337e03fa28a7 Content-Disposition: form-data; name="msg" Content-Type: application/json
{"command":"xbrl","options":{"listfile":false,"parallel-assessment":true}}
--8d2337e03fa28a7 Content-Disposition: attachment; filename="MyXbrl.xbrl"; name="args" Content-Type: application/octet-stream
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <abrl> <!-- The XBRL file. This will fail because the tag --> </abrl>
--8d2337e03fa28a7--
And everything works as expected...
Now we want to use the same, but with the ZIP file... The question is, how to do it?
I have problems posting the ZIP file, giving a "character 'r' does not fulfill production 'prolog'." exception.
Did anyone was successful posting an ZIP file to the server? If yes, can point out some tips to do it?
Cheers, João Rosa
|
|