ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Nichol" <snicholn...@scottnichol.com>
Subject Re: overloaded methods?
Date Thu, 11 Mar 2004 20:38:21 GMT
I do not know for certain, but I think it should work.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "JEFF EMMINGER" <jemminger@thig.com>
To: <soap-user@ws.apache.org>
Sent: Thursday, March 11, 2004 2:49 PM
Subject: overloaded methods?


hi all,

can I have an overloaded method in my webservice, or will I need to create
two separate methods?

e.g.

  public Element getFoo(String date);
    and
  public Element getFoo(String from, String to);

or

  public Element getFooByDate(String date);
    and
  public Element getFooByDateRange(String from, String to);

thanks,
jeff






CONFIDENTIAL NOTICE: This email including any attachments, contains 
confidential information belonging to the sender. It may also be 
privileged or otherwise protected by work product immunity or other 
legal rules. This information is intended only for the use of the 
individual or entity named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the taking of any action in reliance on the contents 
of this emailed information is strictly prohibited.  If you have 
received this email in error, please immediately notify us by 
reply email of the error and then delete this email immediately.


Mime
View raw message