Hi Ross,
Its against the basic profile 1.0+ to have multiple operations with the same name, so we disallow it. Now that you mention it, we should have some kind of override. Using JSR 181 @WebMethod.name="addPerson" might work as an override in the meantime though.
- Dan

Ross Mason wrote:

Hi All,

I am using the xfire client and Aegis binding. I have a test Xfire service with two methods –

public void addPerson(Person p)

public Person addPerson(String firstname, String lastname)

It seems when operations are stored in the ServiceInfo of the service, overloaded methods get renamed, so you can’t have a service with an overloaded method. Is this a known issue? And is there any way around it?

Cheers,

----
Ross Mason
SymphonySoft
www.symphonysoft.com

Malta (GMT+1)
Tel: +356 21 575 067
Fax: +356 21 575 067
Mob: +356 99 575 067

UK (GMT)
Tel: +44 208 133 3118
Fax: +44 7005 978 003

Skype: rossjmason
SkypeIn: +1 415 315 9511



--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com

Reply via email to