You are right about they being loosely related, so I'm trying to manually combining then. My first try was this:
scalaxb -d status2 -p gen.nfe.statusservico --package-dir NfeStatusServico2.wsdl *.xsd
In other words, I'm trying to generate code for the WSDL and the XSDs (consStatServ_v2.00.xsd, leiauteConsStatServ_v2.00.xsd and tiposBasico_v1.03.xsd). Is this the correct way of doing it, or should I generate then separately?
Doing it like that makes everything goes "ka-boom":
[INFO] at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
[INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
[INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4344)
[INFO] at scala.tools.nsc.typechecker.Typers$Typer.typedIf$1(Typers.scala:3159)
[INFO] at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3987)
I now get this error, in an infinite loop, when compiling. I also trying generating the XSDs classes in a separated folder, which the same results.
thanks,
[]s,