Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 4346 invoked from network); 5 Jan 2011 05:41:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 05:41:12 -0000 Received: (qmail 8203 invoked by uid 500); 5 Jan 2011 05:41:09 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 8027 invoked by uid 500); 5 Jan 2011 05:41:09 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 7972 invoked by uid 99); 5 Jan 2011 05:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 05:41:09 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 05:41:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p055emuR019545 for ; Wed, 5 Jan 2011 05:40:48 GMT Message-ID: <5954095.152991294206048393.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 00:40:48 -0500 (EST) From: "Isuru Eranga Suriarachchi (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Assigned: (AXIS2-3824) Binding error using operation in wsdl2java of Axis2 1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isuru Eranga Suriarachchi reassigned AXIS2-3824: ------------------------------------------------ Assignee: Isuru Eranga Suriarachchi > Binding error using operation in wsdl2java of Axis2 1.4 > -------------------------------------------------------------------- > > Key: AXIS2-3824 > URL: https://issues.apache.org/jira/browse/AXIS2-3824 > Project: Axis2 > Issue Type: Bug > Components: Tools > Affects Versions: 1.4 > Environment: windows xp / ant 1.6.5 > ubuntu 8.04 / ant 1.7.0 > Reporter: Frank Breuer > Assignee: Isuru Eranga Suriarachchi > Priority: Critical > Attachments: failed_build_using_axis2_14.txt, StockQuoteService.wsdl, StockQuoteService_modified.wsdl > > > As example I use the sample project 'quickstartadb' from 'axis2-1.4/samples/quickstartadb'. > INFO: Exactly the same code is running well on Axis2 1.3!!! > I've added the operation for the method 'getPrice' in the file 'StockQuoteService.wsdl' like this: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > By adding the operation for the method 'getPrice' in the file 'StockQuoteService.wsdl', the creation of project using command 'ant generate.service' fails with the exception: > [java] org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > [java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:153) > [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > [java] Caused by: org.apache.axis2.AxisFault: Binding name is null for the binding fault in binding operation ==>getPrice > [java] at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:748) > [java] at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:538) > [java] at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:489) > [java] at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363) > [java] at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) > [java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:147) > [java] ... 2 more > [java] Exception in thread "main" > Exactly the same code is running fine using Axis2 1.3. -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org