I just checked the templates and yes, there's an extra ")" in the template for the databinding =none case. I just made the fix and commited.
For you to make this work look for the xsl template DatabindingTemplate.xsl in org.apache.axis2.wsdl.template.java package. Remove the extra parenthesis at line 228. No recompilation is needed.
Sorry for the trouble.
Ajith
On 1/17/06, Dong Liu <[EMAIL PROTECTED]> wrote:
The generated code has syntax errors. In my case, one more ")" appears in the lineprivate org.apache.axis2.soap.SOAPEnvelope toEnvelope(org.apache.axis2.soap.SOAPFactory factory, org.apache.axis2.om.OMElement param){
org.apache.axis2.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope ();
envelope.getBody().addChild(param));
return envelope;
}On 1/16/06, Dong Liu <[EMAIL PROTECTED]> wrote:The same behavior found for the command line.On 1/16/06, Dong Liu < [EMAIL PROTECTED]> wrote:Hi, folks,
When I generate java code using 0.94 axis2 Eclipse code generator plugin generator 1.1.0, an unwanted "src" created as the first hierarchy of my package name. E.g. instead of generating the code in /pName, it generates /src/pName .
Should I put it in JIRA?
Cheers,
Don
--
Ajith Ranabahu
