Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68093 invoked from network); 30 Jan 2007 08:48:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2007 08:48:57 -0000 Received: (qmail 19036 invoked by uid 500); 30 Jan 2007 08:49:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 18999 invoked by uid 500); 30 Jan 2007 08:49:00 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 18987 invoked by uid 99); 30 Jan 2007 08:49:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 00:49:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 00:48:53 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 514AB7141D1 for ; Tue, 30 Jan 2007 00:48:33 -0800 (PST) Message-ID: <15205442.1170146913313.JavaMail.jira@brutus> Date: Tue, 30 Jan 2007 00:48:33 -0800 (PST) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2060) Compilation error in WSDL20ToAxisServiceBuilder.java In-Reply-To: <19795586.1170106849102.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/AXIS2-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468540 ] Deepal Jayasinghe commented on AXIS2-2060: ------------------------------------------ We are not get any comiple error when we run the build. Thanks Deepal > Compilation error in WSDL20ToAxisServiceBuilder.java > ---------------------------------------------------- > > Key: AXIS2-2060 > URL: https://issues.apache.org/jira/browse/AXIS2-2060 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Environment: Win XP > Reporter: Samuel Isokpunwu > Attachments: patch.txt > > > Getting compilation error in org.apache.axis2.description.WSDL20ToAxisServiceBuilder.java trying to build the latest Axis2 src extract. > There are type mismatch btw Description and DescriptionElements in three diferent areas of the code in statements like: > Description description = wsdlReader.readWSDL(wsdlUri); > Not sure why there are statements like: > WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader(); > Description description = wsdlReader.readWSDL(wsdlUri); > DescriptionElement descriptionElement = description.toElement(); > Instead of: > WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader(); > DescriptionElement descriptionElement = wsdlReader.readWSDL(wsdlUri); > But if the right approach is to get DescriptionElement through Description.toElement(), then to fix the compilation error will simply be by > type casting wsdlReader.readWSDL(wsdlUri) to Description. > Description description = (Description)wsdlReader.readWSDL(wsdlUri); -- 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-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org