WSDL2Java generated stub don't compile for XmlBeans (Templates not in sync with
Java classes?)
----------------------------------------------------------------------------------------------
Key: AXIS2-1501
URL: http://issues.apache.org/jira/browse/AXIS2-1501
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen
Affects Versions: 1.0
Environment: Microsoft Windows XP
Reporter: Tore Larsen
I generated client side classes using XmlBeans binding from Axis2 1.0 and an
Axis2 built by myself 24.oct. The generated stub has several errors. They are:
<errors>
<error>
The method newXMLStreamReader() is undefined for the type OMElement
detalj-dvs-webserviceclient/src/main/java/src/no/norgesgruppen/kodeservice
KodeServiceStub.java line 302
</error>
<error>
The method getElement(SOAPEnvelope, String) is undefined for the type
KodeServiceStub
detalj-dvs-
webserviceclient/src/main/java/src/no/norgesgruppen/kodeservice
KodeServiceStub.java line 120 and 213
</error>
<error>
org.apache.axiom.om.OMElement.Factory cannot be resolved
detalj-dvs-webserviceclient/src/main/java/src/no/norgesgruppen/kodeservice
KodeServiceStub.java line 340 and 344
</error>
</errors>
I can see from the templates used for code generation (eg.
XmlbeansDatabindingTemplate.xsl) that this errors will be generated.
wsdl and generated stub is attached
--
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]