Hi All,

        I found a problem when I try to execute "ant compile".

My generated service class (i.e. org.ourgrid.status.wsdl.namespace.MyGridStatusPortService) had the following piece of code:

...
StatusReportDocument responseDocument = StatusReportDocument.Factory.newInstance();

StatusReportDocument.StatusReport response = responseDocument.addNewStatusReport();
...
        
Because the .xmlbeans/lib/MGStatusNew-xbeans.jar file exists, my first suspicious was the build.xml classpath settings. However, it was correctly configured.

Finally, I noticed that there is no StatusReport attribute in the StatusReportDocument abstract class, nor the addNewStatusReport() method. As I removed the line that make reference to StatusReport the compilation goes fine.

Could it be bug on a java code generation feature exported via 'ant generate'?

        Cheers,

---
Elizeu Santos-Neto
OurGrid Research Assistant
http://www.ourgrid.org
http://www.lsd.ufcg.edu.br/~elizeu
TEL: + 55 83 310 1065 - Ext.: 25
MOB: + 55 83 9965 4536

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to