You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Joachim Schneider <jo...@wila-derwent.com> on 2003/05/02 07:44:31 UTC

Optional Parameters to RPC style calls

Hello,

I've got an operation like:

Result operate(String string1, String string2)

I'd also like to have the same operation called without string2 (the
webservice would use a default value for string2):

Result operate(String string1)

Is there a way of achieving this easily, or do I have to define and
implement the second operation again?
Is it allowed to have multiple operations with the same name, but different
parameters?

Joachim


Wila-Derwent GmbH
Landsberger Straße 191a
80687 München
Deutschland
Tel +49(0)89 547 56-221
Fax +49(0)89 547 56-409
mailto:joachim.schneider@wila-derwent.com
http://www.wila-derwent.com
http://www.ipr-village.com

--------------------------------------------------------------------------
The information contained in this email is confidential and intended
only for use of the individual or entity named above. If the reader
of this message is not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication
is strictly prohibited. Wila-Derwent GmbH will accept no responsibility
or liability in respect to this email other than to the addressee. If
you have received this communication in error, please notify us
immediately via email: postmaster@wila-derwent.com
--------------------------------------------------------------------------