Hi Fadila, Would it be possible for you to post your WSDL and schema here please. That'll make it easy for us to help you out. And which axis version is your server using?
Thanks, Keith. On Wed, May 7, 2008 at 5:02 PM, <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using axis2 1.3. I've deployed a new webservice and I can see it in > the list of deployed services. > I would like to generate the client stub using the wsdl created by axis. > > But whenn I call WSDL2Java the following exception is thrown: > > [java] org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > [java] at > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180) > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710) > ....... > [java] Caused by: org.apache.axis2.schema.SchemaCompilationException: > Missing name attribute! Please check your schema! > [java] at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2089) > [java] at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.ja > va:1788) > [java] at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler > .java:977) > [java] at > org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType > (SchemaCompiler.java:886) > [java] at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java > :867) > > I'm a bit confused because the wsdl is created by axis. > > Any help is welcome! > > Thanks, > Fadila > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
