Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 87003 invoked from network); 25 Jan 2011 09:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jan 2011 09:45:08 -0000 Received: (qmail 83303 invoked by uid 500); 25 Jan 2011 09:45:07 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 83011 invoked by uid 500); 25 Jan 2011 09:45:05 -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 83000 invoked by uid 99); 25 Jan 2011 09:45:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 09:45:05 +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; Tue, 25 Jan 2011 09:45:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0P9iimf003687 for ; Tue, 25 Jan 2011 09:44:44 GMT Message-ID: <31486007.183751295948684246.JavaMail.jira@thor> Date: Tue, 25 Jan 2011 04:44:44 -0500 (EST) From: "Ruwan Linton (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Resolved: (AXIS2-4362) If WSDL has multiple services, DeploymentEngine uses incorrect one 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-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruwan Linton resolved AXIS2-4362. --------------------------------- Resolution: Cannot Reproduce As per the comment from Pradeep > If WSDL has multiple services, DeploymentEngine uses incorrect one > ------------------------------------------------------------------ > > Key: AXIS2-4362 > URL: https://issues.apache.org/jira/browse/AXIS2-4362 > Project: Axis2 > Issue Type: Bug > Components: deployment > Affects Versions: 1.4 > Reporter: Ben Reif > Attachments: HelloOne.aar, HelloTwo.aar > > > We have a WSDL file that defines multiple services. Each service is deployed within a War as a seperate *.aar file, but they share the same WSDL file. > In DeploymentEngine.populateService(), it calls: > > WSDL11ToAxisServiceBuilder wsdl2AxisServiceBuilder = new WSDL11ToAxisServiceBuilder(wsdlStream, null, null);. > It passes in null for the service QName, even though it has the value of serviceName and it could get the target namespace from the services.xml or the WSDL definition. If you pass in null, this causes the WSDL11ToAxisServiceBuilder.findService() to just pick the first that has a Port. If you have multiple services defined in your WSDL file, this results in the incorrect AxisService objects being put into the AxisConfiguration since it's always just using the information from the first one that it finds with a port. > The DeploymentEngine should determine the correct service QName in this case and pass that into the WSDL11ToAxisServiceBuilder. -- 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