title: jaxb @ManyToMany @XmlID @XmlIDREF can't get the Refed objects into a the xml
body: <p>Hi i have a problem when i use a webservice 
  I have an object User that contains many Roles.</p>
  
  <p>When i get one User(Id:3) from my webservice that contains a role and that role containes many users(id: 3 and id 2). I got an error</p>
  
  <p>Caused by: javax.xml.bind.UnmarshalException: Undefined ID "2".</p>
  
  <p>I assume that this is due to the User with id 2 ain't in the xml.</p>
  
  <p>My question is how do i get this user to be populated into the xml?</p>
  
  <pre><code>@XmlRootElement()
  public class User implements UserInterface {
  
      @Override
      @GeneratedValue
      @Id
      @XmlID
      @XmlJavaTypeAdapter(IntegerAdapter.class)
      public Integer getId() {
          return id;
      }
  
  @Override
  @ManyToMany(targetEntity=Role.class,fetch=FetchType.EAGER)
  @XmlElement(type=Role.class)
  public Set&lt;RoleInterface&gt; getRoles() {
      return roles;
  }
  
  
  }
  
  @XmlRootElement()
  public class Role implements RoleInterface {
      @ManyToMany(targetEntity=User.class,fetch=FetchType.EAGER)
      @XmlIDREF
      @XmlList
      public Set&lt;UserInterface&gt; getUsers() {
          return users;
      }
  }
  </code></pre>