<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    ok, so there is another initial problem : Excel spreadsheets are not
    converted to guided tables ...<br>
    (unless a new feature that I don't know about).<br>
    <br>
    Le 15/12/2011 18:28, Mariano Gonzalez a &eacute;crit&nbsp;:
    <blockquote
cite="mid:CAE46vqHmV43Nw04ikz3eCkziUJoDQ1yVsS+o8evWNmbhPmw6Aw@mail.gmail.com"
      type="cite">Thank you all for your help!
      <div><br>
      </div>
      <div>I followed Vincent's link and as he says, invoking any of
        those rest apis returns a valid xml instead of the DRL. The
        problem is that the XML describes the metadata of the package or
        the asset itself but it doesn't provide information on the excel
        spreadsheet that was used to create the decision table.
        Therefore, the parser can't unmarshall that XML into a valid
        GuidedDecisionTable52 instance.</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div><br>
        <div class="gmail_quote">2011/12/15 Michael Anstis <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Sorry Vincent, nothing personal :)<br>
            <br>
            Obviously everyone is free to assist in the community :)<br>
            <br>
            <div class="gmail_quote">2011/12/15 Vincent Legendre <span
                dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:vincent.legendre@eurodecision.com"
                  target="_blank">vincent.legendre@eurodecision.com</a>&gt;</span><br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div class="h5">
                    <div 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 :
                      <div><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>
                      </div>
                      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 moz-do-not-send="true"
                        href="http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html"
                        target="_blank">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>
                    </div>
                    <br>
                  </div>
                </div>
                <div class="im">_______________________________________________<br>
                  rules-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:rules-users@lists.jboss.org"
                    target="_blank">rules-users@lists.jboss.org</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.jboss.org/mailman/listinfo/rules-users"
                    target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                  <br>
                </div>
              </blockquote>
            </div>
            <br>
            <br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>