Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 69587 invoked from network); 24 May 2006 16:44:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 16:44:56 -0000 Received: (qmail 96151 invoked by uid 500); 24 May 2006 16:44:47 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 95998 invoked by uid 500); 24 May 2006 16:44:47 -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 95987 invoked by uid 99); 24 May 2006 16:44:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 09:44:46 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chathurah@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 09:44:46 -0700 Received: by nf-out-0910.google.com with SMTP id l24so5365nfc for ; Wed, 24 May 2006 09:44:24 -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:references; b=lT/oKZ96/grT9PslGdJHspvCbR11I7/2rs+zDMOQzIpboTPcEYr0TB988NYO7trEHU8uhLieAqhPOFJ9fBBdPP4Jt/LyPfXL4Zq9wWOC6ZMw1gcv5GMt62GK8gm1EKohte2g5VRA1NJVQJ72HD8Um0E37S6mTScP1LLWRYogxKg= Received: by 10.48.205.7 with SMTP id c7mr5814007nfg; Wed, 24 May 2006 09:44:24 -0700 (PDT) Received: by 10.49.54.12 with HTTP; Wed, 24 May 2006 09:44:24 -0700 (PDT) Message-ID: <3ce57c850605240944p6cf0a992w8c8e11f23a12666d@mail.gmail.com> Date: Wed, 24 May 2006 11:44:24 -0500 From: "Chathura Herath" To: axis-user@ws.apache.org Subject: Re: [Axis2] wsdl2java: How do I find uot whats wrong with the WSDL? In-Reply-To: <44742285.7030906@antares.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_84236_9674794.1148489064705" References: <44742285.7030906@antares.no> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_84236_9674794.1148489064705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There was an error in ur wsdl. The part attribute name in the definition/binding/operation/input/header doesn't match with the part name in the message. login against Login Attached is the corrected wsdl, which works. Chathura On 5/24/06, H=E5kon T S=F8nderland wrote: > I'm trying to use wsdl2java to create a service, but I'm not having > much success. This is the first time I do this so please bear with me. > > I have defined my wsdl and tried 4 different validation tools > (Oxygen, Jdeveloper, WS-I and Clear Cape) just to make sure it > is correct (still not sure though) and conforms to WS-I. > > Here is the output I get from wsdl2java: > > C:\>wsdl2java -uri createLeasingApplication.wsdl -ss -sd > Using AXIS2_HOME: C:\java\axis2 > Using JAVA_HOME: c:\J2EESDK\jdk > log4j:WARN No appenders could be found for logger > (org.apache.axis2.i18n.ProjectResourceBundle). > log4j:WARN Please initialize the log4j system properly. > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationE= ngine.java:94) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: org.apache.axis2.AxisFault: null; nested exception is: > java.lang.NullPointerException > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL= 2AxisServiceBuilder.java:243) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationE= ngine.java:87) > ... 2 more > Caused by: java.lang.NullPointerException > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElemen= ts(WSDL2AxisServiceBuilder.java:1095) > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.processBinding(WSDL2= AxisServiceBuilder.java:330) > at > org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL= 2AxisServiceBuilder.java:238) > ... 3 more > > I can't really make any sense of this, please help? > > WSDL file attached. > > H=E5kon > -- > Antares Gruppen AS > Dir.phone: +47 - 23 29 05 75 > Mobile: +47 - 911 79 505 > http://www.antares.no > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --=20 Chathura Herath http://people.apache.org/~chathura/ http://chathurah.blogspot.com/ ------=_Part_84236_9674794.1148489064705 Content-Type: text/xml; name=createLeasingApplication.wsdl; charset=us-ascii Content-Transfer-Encoding: 7bit X-Attachment-Id: f_enlytmbc Content-Disposition: attachment; filename="createLeasingApplication.wsdl" ------=_Part_84236_9674794.1148489064705 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org ------=_Part_84236_9674794.1148489064705--