axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Yordanov" <detelinyorda...@gmail.com>
Subject Re: Error while generating java from old wsdl
Date Mon, 07 Apr 2008 08:55:07 GMT
Hi,
  How do you start the Axis2 runtime - do you just run Axis2 standalone, or
using a servlet container and if so which one?

Regards,
   Detelin

2008/4/7 Chinmoy Chakraborty <cchinu@gmail.com>:

> Hello,
>
> I am getting following error while I try to generate java classes from old
> (Axis 1.4) wsdl.
>
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
> log4j:WARN Please initialize the log4j system properly.
> java.lang.NoSuchMethodError:
> javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
>  at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(WSDL11ToAxisServiceBuilder.java:1586)
>  at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.java:1431)
>  at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:255)
>  at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
>  at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141)
>  at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>  at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Exception in thread "main"
>
>
> Please find attached wsdl for which I am trying to generate java classes.
>
> Chinmoy
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>

Mime
View raw message