Hi Detelin,

I am using xml-apis-1.3.03.jar and xbean-2.2.0.jar. I am using JDK 1.4.08.

Qname has 3 parameter constructor but I guess the issue is, the parameters
are of type 'String' and in my case its
'Ljava/lang/String;Ljava/lang/String;Ljava/lang/String' i.e. String array.

Chinmoy

On Mon, Apr 7, 2008 at 3:12 PM, Detelin Yordanov <[EMAIL PROTECTED]>
wrote:

> Hi,
>    You should verify what version of the QName class is in use. If you are
> using the one in the xml-apis-1.3.03.jar (which you should have in the Axis2
> 1.3 lib folder) you should be fine. XMLBeans also includes this class (in
> the xbean-2.2.0.jar) and it is OK since it has the 3-parameters constructor.
> Which JDK are you using and have you made any modifications to its
> classpath?
>
> Regards,
>    Detelin
>
>
> On Mon, Apr 7, 2008 at 12:03 PM, Chinmoy Chakraborty <[EMAIL PROTECTED]>
> wrote:
>
> > I am running Axis2 standalone. Just using WSDLToJava standalone.
> >
> >
> > Chinmoy
> >
> >   On Mon, Apr 7, 2008 at 2:25 PM, Detelin Yordanov <
> > [EMAIL PROTECTED]> wrote:
> >
> > > 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 <[EMAIL PROTECTED]>:
> > >
> > > >   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: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> >
>

Reply via email to