Can you be more specific, or maybe include the generated java file, wsdl
and generated xmlbeans jar?

I think you are saying that one of your custom methods where generated
incorrectly in the Service class....It would be great if I could see
what was passed to see why it happened...

Thx!

-----Original Message-----
From: Santos-Neto, Elizeu [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 06, 2005 12:32 PM
To: [email protected]
Subject: "ant compile" problem


        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]


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

Reply via email to