> Currently, Tapestry-IoC doesn't copy the annotations put in the service
> implementation class and methods to the generated proxy. A workaround is
> to put the annotation in the service interface.
Do you mean put it in the implementation class rather? just tested it and it
seems to work in the implementation class but not when annotating in the proxy!
i.e. this works:
@WebService(serviceName="myService")
public class MyServiceImpl{
}
but not:
public class SpotfireConnectImpl implements ServiceInterface{
}
@WebService(serviceName="myService")
public interface ServiceInterface {
}
regards,
Peter
--
If you are not an intended recipient of this e-mail, please notify the sender,
delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Please visit http://www.albourne.com/email.html for important
additional terms relating to this e-mail.
----- Original Message -----
From: "Thiago H. de Paula Figueiredo" <[email protected]>
To: "Tapestry users" <[email protected]>
Sent: Monday, 8 February, 2010 14:02:51 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: web service problem
On Sun, 07 Feb 2010 02:52:37 -0200, Jun Tsai <[email protected]> wrote:
> hi,all
Hi!
> Exception in thread "main" java.lang.IllegalArgumentException: class
> $DataQueryService_126a6c0531a has neither @WebSerivce nor
> @WebServiceProvider annotation
Currently, Tapestry-IoC doesn't copy the annotations put in the service
implementation class and methods to the generated proxy. A workaround is
to put the annotation in the service interface.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]