Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-17 Thread anchi
Thanks, I'll listen to your advice and switch to downloading binary asset content. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-REST-API-and-XLS-decision-tables-tp3985574p3999138.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-16 Thread anchi
No it is not corrupted, I've uploaded it through Guvnor web console. When I download it directly through Guvnor UI, I get a valid file. Also when I reach it through REST API using: http://{guvnor_url}/rest/packages/{package}/assets/{xls_name}/binary , I also get a valid file. The only case when

Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-16 Thread Jervis Liu
anchi wrote: No it is not corrupted, I've uploaded it through Guvnor web console. When I download it directly through Guvnor UI, I get a valid file. Also when I reach it through REST API using: http://{guvnor_url}/rest/packages/{package}/assets/{xls_name}/binary , I also get a valid file.

Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-15 Thread anchi
Thanks for your reply. Things are clearer now! For some reason I expected inverse behavior for /binary and /source, but now you've made it clear. I have tried your advice to open a file returned from REST /source with Excel. After renaming it (adding a proper file extension), Excel is not able to

Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-15 Thread Jervis Liu
anchi wrote: Thanks for your reply. Things are clearer now! For some reason I expected inverse behavior for /binary and /source, but now you've made it clear. I have tried your advice to open a file returned from REST /source with Excel. After renaming it (adding a proper file extension),

[rules-users] Guvnor REST API and XLS decision tables

2012-05-14 Thread anchi
Hi! I'm wondering how does Guvnor REST api handle Excel decision tables? I'm using 5.3.1.Final version. It seems that when I use url for binary e.g. /http://{guvnor_url}/rest/packages/package_name/assets/excel_table_name/binary/ , I get a source (.xls) file. And when I use source url e.g.