> I had tested it ,put the @WebService in implemention class,but it doesn't
> work.
Thats strange Jun, its definitely working for me... I wander what the difference could be, and you are sure? because I am running fine at every restart, I am using 5.1.0.5 on Jetty with the Metro web service stack via Maven... whats your configuration?
Cheers,
Peter
----- Original Message -----
From: "Jun Tsai" <jun.tsai@(protected)>
To: "Tapestry users" <users@(protected)>
Sent: Tuesday, 9 February, 2010 07:08:18 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Re: web service problem
2010/2/8 Peter Stavrinides <P.Stavrinides@(protected)>
> > 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 {
>
> }
>
>
I had tested it ,put the @WebService in implemention class,but it doesn't
work.
> 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" <thiagohp@(protected)>
> To: "Tapestry users" <users@(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 <jun.tsai@(protected):
>
> > 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: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
--
regards,
Jun Tsai
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)