<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I'm not listed in people you would like to answer, but there is
something that could be the main problem here.<br>
<br>
In your URL, you use "source", so it is normal that you get the
corresponding DRL in response :<br>
String<br>
content=client.path("guvnor-webapp-${project.version}/rest/packages/essaiRest/assets/tab2/<big><big><b>source</b></big></big>").accept("text/plain").get(String.class);<br>
<br>
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 <a
href="http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html">http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html</a>,
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".<br>
<br>
<br>
</body>
</html>