IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

How to use the ZIP feature in HTTP POST Options · View
joaorosa
Posted: Tuesday, March 24, 2015 2:08:57 PM
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
Credito
Posted: Tuesday, July 21, 2015 8:49:13 AM
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
vlad
Posted: Wednesday, July 22, 2015 3:23:22 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
If I'm not very wrong, this already works since version 2015r4
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.