[rules-users] Get GuidedDecisionTable from Guvnor

Michael Anstis michael.anstis at gmail.com
Thu Dec 15 12:22:59 EST 2011


Sorry Vincent, nothing personal :)

Obviously everyone is free to assist in the community :)

2011/12/15 Vincent Legendre <vincent.legendre at eurodecision.com>

>  Hi all,
>
> I'm not listed in people you would like to answer, but there is something
> that could be the main problem here.
>
> In your URL, you use "source", so it is normal that you get the
> corresponding DRL in response :
>
> String
>
> content=client.path("guvnor-webapp-${project.version}/rest/packages/essaiRest/assets/tab2/
> *source*").accept("text/plain").get(String.class);
>
> If you want the XML, ie the asset XML representation in the repository,
> don't use "source". I am not very sure of the correct URL to use, but
> according to
> http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html, it
> should be the same, without "/source" at end, and then you should get the
> XML in the response. May be you should use "Application/XML" in the accept
> instead of "text/plain".
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111215/0beab92b/attachment.html 


More information about the rules-users mailing list