users@glassfish.java.net

duplicated method name in to different web service class cause error ???

From: Mohammad Shamsi <m.h.shams_at_gmail.com>
Date: Sun, 18 May 2008 10:15:07 +0430

Hi Friends,

i have 2 web service class

A {
    public void delete(@WebParam(name="trasnferId") int id);
}

B {
    public void delete(@WebParam(name="conditionId")int id);
}

and i can't deploy my application in sun application server 9.1_01.

i got this error :



> javax.enterprise.system.container.ejb
> Name-Value Pairs
>
> _ThreadID=23;_ThreadName=Thread-53;_RequestID=0c3d4cd5-0b5d-40b6-ba31-00cb622975ae;
>
> Record Number
>
> 223
> Message ID
>
> Cannot initialize endpoint
> Complete Message
>
> error is : class com.kishware.ebank.condition.core.facade.jaxws.Delete do
> not have a property of the name transferId
>
>

when i rename one of method names my app deployed successfully.

any idea ???

-- 
sincerely yours
M. H. Shamsi