Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 46789 invoked from network); 30 Mar 2004 16:03:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Mar 2004 16:03:05 -0000 Received: (qmail 37875 invoked by uid 500); 30 Mar 2004 16:02:46 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 37861 invoked by uid 500); 30 Mar 2004 16:02:45 -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 37847 invoked from network); 30 Mar 2004 16:02:45 -0000 Received: from unknown (HELO web41309.mail.yahoo.com) (66.218.93.58) by daedalus.apache.org with SMTP; 30 Mar 2004 16:02:45 -0000 Message-ID: <20040330160243.3278.qmail@web41309.mail.yahoo.com> Received: from [64.119.131.67] by web41309.mail.yahoo.com via HTTP; Tue, 30 Mar 2004 08:02:43 PST Date: Tue, 30 Mar 2004 08:02:43 -0800 (PST) From: Kartik Subject: Overloaded Operations in Doc/Lit WSDL To: axis-user@ws.apache.org In-Reply-To: <3CA0E4C0B8EBD711B85D00B0D03D41F611F7A0@ava-es1.ava.solers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hell All. I have a WSDL that uses overloaded operations at a few places. My application provieds a bridge between an existing J2EE application and a .NET GUI client. In my WSDL, my TestInterface has two operations: "TestMethod" that takes two strings "TestMethod" that takes three strings ... ... ... ... ... ... ... ... Please note that to make the message names unique, I am using an underscore at the end of the message name. Also, I am using unique element names and part names in the messages. When I generate Java code, the generated methods look alright (as shown below) public org.apache.ka.TestObject testMethod( String a, String b ) throws ...; public org.apache.ka.TestObject testMethod( String aa, Stirng bb, String cc ) throws ...; I could build, deploy and run the application as expected. Now, here is the question. I read somewhere that WSI basic profile is going to prohibit use of overloaded operations (in general more than one operations with the same operation name - regarless of equality of the number of arguments they take)! Can someone confirm that for Axis and if that's the case, does anyone know the reason? I am planning to use WebServices for three major languages - Java, C# and C++. And all the three languages support overloaded methods. Why would WSI not allow it? Thanks. Kartik __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html