Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 96397 invoked from network); 22 Dec 2008 05:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 05:47:15 -0000 Received: (qmail 86269 invoked by uid 500); 22 Dec 2008 05:47:15 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 86246 invoked by uid 500); 22 Dec 2008 05:47:15 -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 86231 invoked by uid 99); 22 Dec 2008 05:47:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2008 21:47:15 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Mon, 22 Dec 2008 05:47:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 55C48234C403 for ; Sun, 21 Dec 2008 21:46:44 -0800 (PST) Message-ID: <1147115286.1229924804350.JavaMail.jira@brutus> Date: Sun, 21 Dec 2008 21:46:44 -0800 (PST) From: "S.Uthaiyashankar (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXIS2C-1224) Error in WSDL2C while generating stubs in C In-Reply-To: <144974422.1215000105077.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-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar updated AXIS2C-1224: ------------------------------------- Fix Version/s: (was: Current (Nightly)) 1.6.0 > Error in WSDL2C while generating stubs in C > ------------------------------------------- > > Key: AXIS2C-1224 > URL: https://issues.apache.org/jira/browse/AXIS2C-1224 > Project: Axis2-C > Issue Type: Bug > Components: wsdl2c tool > Affects Versions: 1.4.0 > Environment: Windows 2003, jdk1.5 > Reporter: Mohinder Verma > Fix For: 1.6.0 > > Original Estimate: 168h > Remaining Estimate: 168h > > We are trying to generate C code with WSDL2C tool. We are running WSDL2C.bat as follows: > WSDL2C.bat -uri D:\Axis2c\bin\tools\wsdl2c\PublicReportService.wsdl -d adb -u > The WSDL file is as below: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Error thrown is as below: > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:153) > 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://xmlns.oracle.com/oxp/service/PublicReportService}AccessDeniedException' > must be defined with 'element=QName' and not 'type=QName' > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1240) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:771) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:538) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:489) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363) > at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:147) > ... 2 more > Please help us to rectify this error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.