[ http://issues.apache.org/jira/browse/AXIS2-1502?page=comments#action_12444714 ] Davanum Srinivas commented on AXIS2-1502: -----------------------------------------
Please upload your wsdl. thanks, dims > Compilation errors in generated code > ------------------------------------ > > Key: AXIS2-1502 > URL: http://issues.apache.org/jira/browse/AXIS2-1502 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Environment: windows nt > Reporter: Kamal Kang > > Cannot compile the code generated from wsdl2java. > > compile.src: > > [javac] Compiling 216 source files to > > D:\mtosi\test\wsdl2java\build\classes > > [javac] > > D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageR > > ec > > eiverInOut.java:83: cannot find symbol > > [javac] symbol : method newXMLStreamReader() > > [javac] location: interface org.apache.axiom.om.OMElement > > [javac] > > (org.apache.axiom.om.OMAbstractFactory.getOMFactory(),new > > org.apache.axis2.util.StreamWrapper(param.newXMLStreamReader())) ; > > [javac] > > ^ > > [javac] > > D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageR > > ec > > eiverInOut.java:120: cannot find symbol > > [javac] symbol : variable Factory > > [javac] location: interface org.apache.axiom.om.OMElement > > [javac] return > > org.apache.axiom.om.OMElement.Factory.parse( > > [javac] ^ > > [javac] > > D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageR > > ec > > eiverInOut.java:124: cannot find symbol > > [javac] symbol : variable Factory > > [javac] location: interface org.apache.axiom.om.OMElement > > [javac] return > > org.apache.axiom.om.OMElement.Factory.parse( > > [javac] ^ > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -Xlint:deprecation for details. > > [javac] Note: > > D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageR > > ec eiverInOut.java uses unchecked or unsafe operations. > > [javac] Note: Recompile with -Xlint:unchecked for details. > > [javac] 3 errors -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
