Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 77180 invoked by uid 500); 9 Dec 2002 14:54:24 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 77164 invoked from network); 9 Dec 2002 14:54:23 -0000 Message-ID: From: Tom Jordahl To: "'axis-user@xml.apache.org'" , "'axis-dev@xml.apache.org'" Subject: RE: WSDL2Java - How to configure the Stubclasses name ? Date: Mon, 9 Dec 2002 09:54:25 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sascha, As far as I know, no change to the file/class name generation code has been made post 1.0. You can check the logic (which is tricky) in the class org/apache/axis/wsdl/toJava/JavaGeneratorFactory.java See the resolveNameClashes() function. The _Port and _Service suffixes (line 714 or so) are appended to the class names when there is already an object of the same name. Can you post your entire WSDL file? -- Tom Jordahl Macromedia Server Development -----Original Message----- From: Sascha Kulawik [mailto:sascha@kulawik.de] Sent: Sunday, December 08, 2002 8:08 PM To: axis-user@xml.apache.org; axis-dev@xml.apache.org Subject: WSDL2Java - How to configure the Stubclasses name ? Hello, I just want to use the same name for the Stubclass, as like the Serverclass. Currently I've the problem with the 1.1beta (and all following Nightly-Builds), that the Stubclass will be called _Port, also the ServiceLocator isn't been called ClassNameServiceLocator, it will be called ClassName_ServiceLocator (all with Underlines). My problem is not the ServiceLocator Name, more the name of the StubClass Interface, who is now called ClassName_Port instead of ClassName. I think, here is a complete change in the actual Axis Version. Has anybody else also this effect ? I'm using following ant-code for creating the stub-classes: Thank you very much for your help, Sascha