Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 86140 invoked by uid 500); 27 Feb 2003 01:39:39 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 86118 invoked from network); 27 Feb 2003 01:39:39 -0000 From: bhimshmb@WellsFargo.COM Message-ID: <656554631B8CD41184540001FA7E364A076648CD@xcem-casfo-05.wellsfargo.com> To: axis-dev@ws.apache.org, axis-user@ws.apache.org Subject: Web Services using XML messaging Date: Wed, 26 Feb 2003 17:35:54 -0800 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 Hi, Please let me know if it is possible to specify an optional method argument in the Web Service. Here is my problem summary... 1. I have a Web Service that supports a method by name getQuote which presently takes one argument which is the stock symbol 2. I have numerous clients that use the service to lookup stock quotes. The communication is via SOAP 3. Say after n number of days the Web Service changes and it now takes an optional stock-exchange-name as the second argument. I expect the changed service to be still usable by the old clients with no changes to the client code i.e., the service should still return the stock quote when the client message has the method name with the stock symbol argument value. I am assuming it is possible on the server-side to substitute a default value for the stock-exchange-name argument. Summary of present web service - Method Name: getQuote - Argument Name: stockSymbol Summary of web service in future - Method Name: getQuote - Argument Name: argument1: stockSymbol argument2: stockExchangeName (is an optional argument) Thanks & Regards, Mahesh Bhimshetty