Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 54912 invoked from network); 18 Sep 2007 06:29:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 06:29:05 -0000 Received: (qmail 63055 invoked by uid 500); 18 Sep 2007 06:28:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 63031 invoked by uid 500); 18 Sep 2007 06:28:56 -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 63020 invoked by uid 99); 18 Sep 2007 06:28:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 23:28:56 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 18 Sep 2007 06:29:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82403714168 for ; Mon, 17 Sep 2007 23:28:43 -0700 (PDT) Message-ID: <31857167.1190096923521.JavaMail.jira@brutus> Date: Mon, 17 Sep 2007 23:28:43 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-3205) org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService() doesn't support WSDL definition with imported WSDLs In-Reply-To: <15853755.1189825412980.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-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi reassigned AXIS2-3205: --------------------------------------------------- Assignee: Amila Chinthaka Suriarachchi > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService() doesn't support WSDL definition with imported WSDLs > ----------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-3205 > URL: https://issues.apache.org/jira/browse/AXIS2-3205 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.3 > Reporter: Raymond Feng > Assignee: Amila Chinthaka Suriarachchi > Attachments: rfeng-findservice.patch > > > We have a case that WSDL definition that has imported definitions. When the definition is passed to org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findService(Definition), the imported definition is not honored. The issue is in the findService(Definition) method: > private Service findService(Definition definition) throws AxisFault { > Map services = definition.getServices(); > Service service = null; > if (serviceName != null) { > // i.e if a user has specified a pirticular port > service = (Service) services.get(serviceName); > if (service == null) { > throw new AxisFault("Service " + serviceName > + " was not found in the WSDL"); > } > } else { > ... > The fix will be very simple: service = definition.getService(serviceName); > I'll attach a patch for that. -- 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