Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 2088 invoked from network); 27 Jun 2008 11:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 11:48:47 -0000 Received: (qmail 3376 invoked by uid 500); 27 Jun 2008 11:48:48 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 3362 invoked by uid 500); 27 Jun 2008 11:48:48 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 3351 invoked by uid 99); 27 Jun 2008 11:48:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 04:48:48 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 11:47:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 48B48234C14E for ; Fri, 27 Jun 2008 04:47:45 -0700 (PDT) Message-ID: <855980721.1214567265296.JavaMail.jira@brutus> Date: Fri, 27 Jun 2008 04:47:45 -0700 (PDT) From: "Milinda Lakmal Pathirage (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-1088) WSDL2C.bat : [ERROR] Part 'fault' of fault message ' In-Reply-To: <359066654.1206540204644.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milinda Lakmal Pathirage reassigned AXIS2C-1088: ------------------------------------------------ Assignee: Milinda Lakmal Pathirage > WSDL2C.bat : [ERROR] Part 'fault' of fault message ' > ---------------------------------------------------- > > Key: AXIS2C-1088 > URL: https://issues.apache.org/jira/browse/AXIS2C-1088 > Project: Axis2-C > Issue Type: Bug > Components: code generation > Affects Versions: 1.2.0 > Environment: Windows XP > Reporter: Vishal Khutale > Assignee: Milinda Lakmal Pathirage > Attachments: test.zip > > > Hi, > I am using Axis2\C 1.2.0 > And for code generation, I have provided jar files from following snapshot. > SNAPSHOT > ------------------- > distribution-SNAPSHOT-bin.zip 15-Mar-2008 02:44 19M > I am trying to generate client stub using following options: > 1). WSDL2C.bat -uri FII_Pricing_tier.wsdl -d none -u > 2). WSDL2C.bat -uri FII_Pricing_tier.wsdl -d adb -u > For both the options, I am getting following error: > ========================================= > Retrieving document at 'FII_Pricing_tier.wsdl'. > [ERROR] Part 'fault' of fault message '{http://FII_Pricing_tier.rm.aion.ca.com}RASException' must be defined with 'element=QName' and not 'type=QName' > [ERROR] Part 'fault' of fault message '{http://FII_Pricing_tier.rm.aion.ca.com}RASException' must be defined with 'element=QName' and not 'type=QName' > org.apache.axis2.AxisFault: Part 'fault' of fault message '{http://FII_Pricing_tier.rm.aion.ca.com}RASException' must be defined with 'element=QName' > and not 'type=QName' > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1229) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:760) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:527) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:478) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:356) > at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:154) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31) > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:160) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31) > Caused by: org.apache.axis2.AxisFault: Part 'fault' of fault message '{http://FII_Pricing_tier.rm.aion.ca.com}RASException' must be defined with 'elem > ent=QName' and not 'type=QName' > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1229) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:760) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:527) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:478) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:356) > at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:154) > ... 2 more > ===================================================================================== > WSDL File is : > ============== > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ============================================================================= > Thanks. > Vishal -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org