hi,

i'm playing around with webservcies in resin - works so far, just a curiosity
needs to be explained:

i define the following interface:

---8<---
@WebService
public interface ConfigService
{
  @WebMethod
  public String getString( @WebParam(name="key") String key );
}
---8<---

when i implement this interface it only works, when the implementation also gets
the annotations. if left out, resin throws an exception (like 'can't convert to
integer or similar).

shouldn't it be enough to have the annots in the interface?

env: linux / java 1.6.0 / resin pro 3.1.s070319

best regards, --- jan.


--------------------------------------------------
sign of renitence gmbH & co. kg
Büro Hamburg
Kelterstr. 23
D-22391 Hamburg
Germany

fon +49-40-27805130
fax +49-40-27805131

www.renitence.de
www.webnix.de
www.projektnix.de

Geschäftsleitung
Jörg Schmidt-Stein
Susanne Stein
Jan Kriesten

Gerichtsstand Nürnberg
hr a 12518

USt.-IdNr.: DE194293429
St.-Nr. 238 174 01201


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to