<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 2/4/14 6:55 AM, Massimiliano Masi
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEj0woSPC_-BStO1uq_zhMvfi3t55QsETZAbTRoSi+Bn7kWfoA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,&nbsp;
        <div><br>
        </div>
        <div>I just downloaded the 2.6.1 version of opensaml. I am
          implementing a WS-Trust cancel target, but I have troubles
          unmarshalling it. This code:&nbsp;</div>
        <div><br>
        </div>
        <div><br>
          <p
style="margin:0px;font-size:11px;font-family:Monaco;color:rgb(78,144,114)"><span
              style="color:rgb(34,34,34)">ct.setUnknownXMLObject(ass);</span><br>
          </p>
        </div>
      </div>
    </blockquote>
    <br>
    I took a quick look.&nbsp; It's a bug.&nbsp; This method in CancelTargetImpl
    isn't assigning the argument to the appropriate variable:<br>
    <br>
    <tt>public void setUnknownXMLObject(XMLObject unknownObject) {</tt><br>
    <tt>&nbsp;&nbsp;&nbsp; prepareForAssignment(unknownChild, unknownObject);</tt><br>
    <tt>}</tt><br>
    <br>
    <br>
    This was contributed code and it's not very well tested (nor widely
    used).<br>
    <br>
    You can easily fix locally if you're building OpenSAML (at least
    java-openws) from source. It should be:<br>
    <br>
    <tt>&nbsp;&nbsp;&nbsp; unknownChild = prepareForAssignment(unknownChild,
      unknownObject);</tt><br>
    <br>
    <br>
    <br>
    Also, please open a bug report so it will get fixed.<br>
    <br>
    Thanks,<br>
    Brent<br>
    <br>
    <br>
    <br>
  </body>
</html>