[wsas-java-dev] [jira] Commented: (WSAS-241) code generation fails
with
NoClassDefFoundError: org/apache/xerces/parsers/DOMParser when wsdl2 is
selected
Charitha Kankanamge (JIRA)
jira at wso2.org
Sun Jul 1 10:39:15 PDT 2007
[ http://www.wso2.org/jira/browse/WSAS-241?page=comments#action_11508 ]
Charitha Kankanamge commented on WSAS-241:
------------------------------------------
Apparently this issue was observed using stub generation page in WSAS management console in WSAS2.0-RC1. User gets 'org/apache/xerces/parsers/DOMParser' error when selecting wsdl2 and clicking on 'Generate'.
> code generation fails with NoClassDefFoundError: org/apache/xerces/parsers/DOMParser when wsdl2 is selected
> -----------------------------------------------------------------------------------------------------------
>
> Key: WSAS-241
> URL: http://www.wso2.org/jira/browse/WSAS-241
> Project: WSO2 WSAS
> Issue Type: Bug
> Affects Versions: Nightly
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assigned To: Afkham Azeez
> Priority: Critical
>
> Following error return when trying to generate client stub using wsdl2 file.
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
> at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java:667)
> at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:244)
> at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:121)
> at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.<init>(WSDL20ToAxisServiceBuilder.java:135)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:89)
> at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Steps to reproduce:
> ================
> 1. Start wso2wsas
> 2. Go to wso2wsas_home/bin and specify following command.
> wsdl2java.bat -uri http://10.100.1.244:9762/services/version?wsdl2 -wv 2.0 -o C:\wsas\dataservice\wso2wsas-1.2-SNAPSHOT\bin\out
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsas-java-dev
mailing list