Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 74312 invoked from network); 6 Nov 2008 11:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 11:56:31 -0000 Received: (qmail 51533 invoked by uid 500); 6 Nov 2008 11:56:38 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 51486 invoked by uid 500); 6 Nov 2008 11:56:37 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 51474 invoked by uid 99); 6 Nov 2008 11:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 03:56:37 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 11:55:19 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ky3Sz-0005Mh-3N for dev@cxf.apache.org; Thu, 06 Nov 2008 03:56:01 -0800 Message-ID: <20359717.post@talk.nabble.com> Date: Thu, 6 Nov 2008 03:56:01 -0800 (PST) From: Andrew Clegg To: dev@cxf.apache.org Subject: Proposal -- removing irrelevent services from WSDL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: andrew.clegg@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hey folks, I have a WSDL-first project which contains several service definitions, each with a separate binding to a separate port type. When I go to the 'services' page for the WAR in Tomcat, I get a bunch of links like: http://myserver:8080/MyWar/services/ServiceOne?wsdl http://myserver:8080/MyWar/services/ServiceTwo?wsdl etc. Exactly the same WSDL, but published to different URLs. What would be really neat is if CXF could trim out the unused services, bindings and port type definitions when it publishes the WSDL. I know it already does some editing as the soap:address location attributes are correct. Would the maintainers be interested in a patch to do this if I volunteered? I *think* Axis2 does this, if I remember correctly, so there might be some usable code in there. Interestingly, I just noticed the soap:operation soapAction attributes are not updated the same way as soap:address is. They still have the localhost test URLs which I hardcoded into my WSDL. Is this intentional, or a bug, or a sign I've misconfigured something? (Does anything even use this?) Andrew. -- View this message in context: http://www.nabble.com/Proposal----removing-irrelevent-services-from-WSDL-tp20359717p20359717.html Sent from the cxf-dev mailing list archive at Nabble.com.