[rules-dev] getting images from guvnor - jaxrs

Jervis Liu jliu at redhat.com
Mon Jun 13 03:22:27 EDT 2011


Hi Tiho, I ll try if I can reproduce the same problem on my side.

Cheers,
Jervis

On 2011/6/10 4:40, Tihomir Surdilovic wrote:
> Hi guys, I am using apache batik to convert some svg to png image and am
> running into a weird problem:
> the svg includes image tags which point to guvnor (rest api), for example:
>
> <image oryx:anchors="top" x="1.6399999999999988" y="2" width="20"
> height="20"
> xlink:href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary"
> id="_28EB8C09-7BF0-4401-98C4-8ECDCE8D987E__28EB8C09-7BF0-4401-98C4-8ECDCE8D987E_19"/>
>
> where "fault" is fault.png which I uploaded into Guvnor in the
> defaultPackage.
>
> When the batik transcoders evaluate this image url
> (http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary)
> jaxrs on the Guvnor side throws this error:
>
> https://gist.github.com/1017665
>
> Anyone got any hints on this error?
>
> Thanks!
> Tihomir
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev



More information about the rules-dev mailing list