Rank: Newbie
Joined: 3/24/2015 Posts: 1 Location: Dublin
|
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
|
Rank: Newbie
Joined: 7/21/2015 Posts: 1 Location: Spain
|
Hi, Anyone could shed some light on this? I have a similar issue and I´m also stuck
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
If I'm not very wrong, this already works since version 2015r4
|