You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tore Larsen (JIRA)" <ji...@apache.org> on 2006/10/25 16:12:16 UTC
[jira] Created: (AXIS2-1501) WSDL2Java generated stub don't compile
for XmlBeans (Templates not in sync with Java classes?)
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1501) WSDL2Java generated stub don't
compile for XmlBeans (Templates not in sync with Java classes?)
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1501?page=all ]
Davanum Srinivas resolved AXIS2-1501.
-------------------------------------
Resolution: Fixed
works fine for me. Please try a nightly
http://ws.zones.apache.org/dist/axis2/nightly/
-- dims
> 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
> Attachments: KodeService.wsdl, KodeServiceStub.java
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1501) WSDL2Java generated stub don't compile
for XmlBeans (Templates not in sync with Java classes?)
Posted by "Tore Larsen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1501?page=all ]
Tore Larsen updated AXIS2-1501:
-------------------------------
Attachment: KodeServiceStub.java
> 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
> Attachments: KodeService.wsdl, KodeServiceStub.java
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1501) WSDL2Java generated stub don't compile
for XmlBeans (Templates not in sync with Java classes?)
Posted by "Tore Larsen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1501?page=all ]
Tore Larsen updated AXIS2-1501:
-------------------------------
Attachment: KodeService.wsdl
> 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
> Attachments: KodeService.wsdl, KodeServiceStub.java
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org