Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 75993 invoked from network); 5 Feb 2004 21:10:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Feb 2004 21:10:02 -0000 Received: (qmail 57724 invoked by uid 500); 5 Feb 2004 21:08:58 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 57664 invoked by uid 500); 5 Feb 2004 21:08:57 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 57597 invoked from network); 5 Feb 2004 21:08:56 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (204.127.198.35) by daedalus.apache.org with SMTP; 5 Feb 2004 21:08:56 -0000 Received: from chaddadc400 (c-24-98-56-169.atl.client2.attbi.com[24.98.56.169]) by comcast.net (rwcrmhc11) with SMTP id <2004020416342601300lems3e>; Wed, 4 Feb 2004 16:34:26 +0000 From: "chris" To: Subject: RE: Service Naming: removing implementation class name from WSDL Date: Wed, 4 Feb 2004 11:34:14 -0500 Message-ID: <000201c3eb3c$bb4d0d20$6601a8c0@burtongroup.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-Reply-To: <53CEA969372A3C4C9B0BE1C0EE578B8C8AD904@mail.apelon.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Matt - You need to specify a custom WSDL port type in the WSDD. For example, Axis will generate a service with a /definitions/service@name of 'MessageService' and a /definitions/service/port@name of 'MessagePort' and a /definitions/portType@name of 'MessagePortType' even though the implementation skeleton class is 'MessageRPCSkeleton'. The actual implementation class definition is hidden behind the skeleton..... cheers, /Chris http://cvs.apache.org/~haddadc -----Original Message----- From: Matt Munz [mailto:mmunz@apelon.com] Sent: Wednesday, February 04, 2004 8:55 AM To: axis-user@ws.apache.org Subject: RE: Service Naming: removing implementation class name from WSDL Any ideas yet? Perhaps the dev list is better suited to answer this question? - Matt -----Original Message----- From: Matt Munz Sent: Monday, February 02, 2004 5:12 PM To: axis-user@ws.apache.org Subject: Service Naming: removing implementation class name from WSDL Hi all, How can I make sure that the name of my web service implementation class does not get into the WSDL?[1] Consider the following case. I have a class named SampleBean[2] that I want to be the implementation class for my web service, named BeanMessage.[3] Why do I see "SampleBean" in the WSDL?[4] When I generate Java client proxies, they also expose the implementation class name to the user.[5] My desire is that only "BeanMessage" will be used for the naming of all the elements (WSDL, client proxies, etc.) that are currently named "SampleBean". Not only is this simpler, but it hides an implementation detail (the name of the service class) from the client, allowing me the flexibility to change service classes later without regenerating client proxies. I imagine this is a common problem. Any suggestions? [1] custom WSDL generation is not preferred ;) [2] public class SampleBean { public SampleBean(){} public String getMessage() { return "Hello World."; } } [3] [4] [5] BeanMessage/ BeanMessageSoapBindingStub.java SampleBean.java SampleBeanService.java SampleBeanServiceLocator.java - Matt