<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013/4/19 19:40, Charles Moulliard
wrote:<br>
</div>
<blockquote
cite="mid:CAAxZHdexCcd5yK9dHOexvureh7U9c25advu5iPz2Op=My_LpNA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I try to fetch using REST from Guvnor the mortgages
packages, drl, .. . With the String retrieved, I would like to
recreate a Knowledge repository to insert a fact in a session
and fire Drools rules</div>
<div><br>
</div>
<div>Here is the code :</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://gist.github.com/cmoulliard/4e9b6dc3ff384715ff9a">https://gist.github.com/cmoulliard/4e9b6dc3ff384715ff9a</a></div>
</div>
</blockquote>
Hi, your code looks alright. What content did you get back from URL
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8080/guvnor.war/rest/packages/mortgages/source">http://127.0.0.1:8080/guvnor.war/rest/packages/mortgages/source</a> ?
and did you see any errors on servers log?<br>
<br>
Cheers,<br>
Jervis<br>
<blockquote
cite="mid:CAAxZHdexCcd5yK9dHOexvureh7U9c25advu5iPz2Op=My_LpNA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Apparently no packages have been created from source /
string retrieved. What is wrong ?</div>
<div><br>
</div>
<div>Regards,<br clear="all">
<div><br>
</div>
-- <br>
<div>Charles Moulliard</div>
<div>Apache Committer / Sr. Enterprise Architect (RedHat)</div>
<div>Twitter : @cmoulliard | Blog : <a moz-do-not-send="true"
href="http://cmoulliard.blogspot.com" target="_blank">http://cmoulliard.blogspot.com</a></div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a></pre>
</blockquote>
<br>
</body>
</html>