Generated Code Cannot be compiled
---------------------------------
Key: AXIS2-238
URL: http://issues.apache.org/jira/browse/AXIS2-238
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: wsdl
Environment: Win xp
Reporter: Gayan Asanka
Generated code using following wsdls, cannot be compiled.
http://soapinterop.java.sun.com/round3/groupd/doclit?WSDL
http://mssoapinterop.org/stkv3/wsdl/interopTestDocLit.wsdl
http://www.whitemesa.net/wsdl/r3/interoptestdoclit.wsdl
Error is at *echoVoidDatabindingSupporter.java
public static org.apache.axis2.om.OMElement
toOM(org.apache.axis2.om.OMElement param){
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder builder = new
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder
(org.apache.axis2.om.OMAbstractFactory.getOMFactory(),new
org.apache.axis2.clientapi.StreamWrapper(param.newXMLStreamReader())) ;
org.apache.axis2.om.OMElement documentElement =
builder.getDocumentElement();
///////Building the element is needed to avoid certain stream errors!
documentElement.build();
//////////////////////////////
return documentElement;
}
cannot resolve symbol method newXMLStreamReader();
Gayan Asanka
--
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