Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 32341 invoked from network); 14 Aug 2006 20:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 20:17:18 -0000 Received: (qmail 86142 invoked by uid 500); 14 Aug 2006 20:17:10 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 86120 invoked by uid 500); 14 Aug 2006 20:17:10 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 86109 invoked by uid 99); 14 Aug 2006 20:17:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 13:17:10 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ajith.ranabahu@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 13:17:08 -0700 Received: by nf-out-0910.google.com with SMTP id l24so63397nfc for ; Mon, 14 Aug 2006 13:16:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RrBp7/o+u98JIsFfjqfewdO9NPpc867CK2QUN+Sow9OoshoPqkrHDzt0d6rrV+Jt0/akkyqVbWJYxBxD6Mujl14T5rGt6D6dIo1TdOJMXtMMt+844zO6+HZb2gffzfxnuK4JMgFOU3cAnjcAbRihQpfrSdvUh0a9/D8WCjhOIr4= Received: by 10.78.160.2 with SMTP id i2mr3444611hue; Mon, 14 Aug 2006 13:16:46 -0700 (PDT) Received: by 10.78.120.15 with HTTP; Mon, 14 Aug 2006 13:16:46 -0700 (PDT) Message-ID: Date: Mon, 14 Aug 2006 16:16:46 -0400 From: "Ajith Ranabahu" To: axis-user@ws.apache.org, derek-axis@crc-corp.com Subject: Re: [Axis2]Unable to use WSDL2JAVA. In-Reply-To: <012f01c6bfd3$436eb010$166fa8c0@Zephyr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1182c1ca0608140710q5184b861r23d64f8ecc57aace@mail.gmail.com> <012f01c6bfd3$436eb010$166fa8c0@Zephyr> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Is this 1.0 or the latest SVN ? if its 1.o please check with the latest nightlies. if the problem persists please file a Jira (attach the WSDL as well) Ajith On 8/14/06, Derek wrote: > > > Yura: > > WSDL2Java should never throw a NullPointerException. If it is sent invalid > data, it should always throw an exception containing an informative error > message instead. Please file a JIRA so that this issue is fixed. > > Thank you. > > Derek > > > -----Original Message----- > From: Yura Tkachenko [mailto:yura.tkachenko@gmail.com] > Sent: Monday, August 14, 2006 7:11 AM > To: axis-user@ws.apache.org > Subject: Re: [Axis2]Unable to use WSDL2JAVA. > > > > Hello, Martin > > I solved this issue: when I run WSDL2JAVA.bat file not Wsdl2Java class > everything was all right, but for Siebel CRM Ondemand Service wsdl I'm > always getting exception: > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException > : java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilationException > : java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > ationEngine.java:185) > at > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java :21) > Caused by: java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilation > Exception: java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp > leDBExtension.java:117) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > ationEngine.java:140) > ... 2 more > Caused by: > org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPoi > nterException > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:18 > 6) > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp > leDBExtension.java :70) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. > java:360) > at > org.apache.axis2.schema.SchemaCompiler.processElement > (SchemaCompiler. > java:344) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. > java:410) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. > java:334) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:91 > 5) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler > .java:878) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType > (SchemaCompi > ler.java:643) > at > org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT > ype(SchemaCompiler.java:594) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j > ava:579) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. > java:366) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. > java:344) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:22 > 6) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:18 > 1) > ... 4 more > > Don't know what does it means, but for Axis 1.3 I'm used also > NstoPkg.properties file to generate stubs. Axis2 doesn't used this file or I > missed some parameter, here is my command line: > > WSDL2JAVA.bat -uri account.wsdl > > Let me know if you need some additional info. > > Thanks, > Yura. > > > 2006/8/13, Martin Gainty : > > Good Afternoon Yura- > > > > Your WSDL will need to identify the method which will process the Request > > in this example the wsdl:operation name="" is the method > > > > > > - > > name="getSelectFromZipRequest" /> > > name="getSelectFromZipResponse" /> > > > > > > > > Anyone else? > > Martin -- > > > ********************************************************************* > > This email message and any files transmitted with it contain confidential > > information intended only for the person(s) to whom this email message is > > addressed. If you have received this email message in error, please > notify > > the sender immediately by telephone or email and destroy the original > > message without making a copy. Thank you. > > > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Sunday, August 13, 2006 6:21 AM > > Subject: [Axis2]Unable to use WSDL2JAVA. > > > > > > > Hi, there. > > > > > > Everytime when I'm trying to use WSDL2JAVA util to generate client stubs > I'm getting exception: > > > > > > Exception in thread "main" java.lang.NoSuchMethodError: > javax.wsdl.PortType.getExtensionAttributes()Ljava/util/Map; > > > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.processPortType > (WSDL2AxisServiceBuilder.java:369) > > > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.processBinding(WSDL2AxisServiceBuilder.java:299) > > > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService > (WSDL2AxisServiceBuilder.java:238) > > > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:87) > > > at > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > > > at org.apache.axis2.wsdl.WSDL2Java.main > (WSDL2Java.java:21) > > > 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:585) > > > at > com.intellij.rt.execution.application.AppMain.main(AppMain.java:86) > > > > > > method getExtensionAttributes in ProtType interface doesn't presents in > the wsdl1.5.2 anymore. > > > > > > Any idea how to resolve this issue? > > > > > > Thanks, > > > Yura. > > > > > > -- > > > This message was sent on behalf of yura.tkachenko@gmail.com at > openSubscriber.com > > > > http://opensubscriber.com/messages/axis-user@ws.apache.org/topic.html > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > -- > Thanks, > Yura. > -- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org