I have these 2 Java classes:
public class 
Inspecao {
  private List<Arquivo> fotos;
}
public class Arquivo {
  private String nome;
  private 
Inspecao inspecao; /* CIRCULAR DEPENDENCY */
}
and the result of the serialization process should be something like this:
<inspecao Id="1">
    <fotos Id="2">
        <arquivo Id="3">
            <nome Id="4">/storage/2019.01.11-16:51:40.jpg</nome>
            <inspecao Ref="1"/>
        </arquivo>
    </fotos>
</inspecao>
How do I make ksoap2 create an id for "inspecao" (Id="1") and reference it inside "arquivo" (Ref="1")?
I have been trying to solve this for weeks! Is it possible?
Thanks in advance!