The exception usually occurs if you don't have a public constructor for your 
service implementation. Can you share the code for implementation if that is 
not the case.

Taha

On Jul 19, 2012, at 12:31 AM, bhorvat wrote:

> 
> Kalle Korhonen-2 wrote
>> 
>> 
>> Are you using T5.3? If so, your JAX-RS annotations (as mentioned in
>> http://tynamo.org/tapestry-resteasy+guide) won't work any better - you
>> have to add your annotations to the service interface.
>> 
>> 
> 
> Yea I am using 5.3. So if I read it and understood it, I need to create an
> interface I will call it UserResourceService and implement it UserResource
> then in bind() I put 
> 
> binder.bind(UserResourceService.class, UserResource.class);
> 
> I have also added this
> 
>    @Contribute(javax.ws.rs.core.Application.class)
>    public static void configureRestResources(Configuration singletons,
> UserResourceService myDomainObjectResource) {
>        singletons.add(myDomainObjectResource);
>    }
> 
> but I get strange exception 
> 
> java.lang.RuntimeException: Exception constructing service
> 'ResteasyRequestFilter': Error building service proxy for service
> 'Application' (at org.tynamo.resteasy.Application(Collection) (at
> Application.java:14) via
> org.tynamo.resteasy.ResteasyModule.bind(ServiceBinder) (at
> ResteasyModule.java:31)): Error invoking service contribution method
> org.tynamo.resteasy.ResteasyModule.javaxWsRsCoreApplication(Configuration,
> ObjectLocator, ResteasyPackageManager, ClassNameLocator): Class
> com.bomahabo.flow.tapestry.rest.UserResourceService does not contain a
> public constructor needed to autobuild.
> 
> 
> 
> Kalle Korhonen-2 wrote
>> 
>> Read about HTTP BASIC authentication, the credentials are sent in the
>> header of a http request. The http method doesn't matter.
>> 
> 
> I have read a bit about it, and I like what I have found. I am just not sure
> how I can access that from my java code? Is that shiro would take care of,
> or something that I should access using some equivalent of @PathParam(value
> = "username")
> 
> tnx
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-Tynamo-Rest-and-security-integration-questions-tp5714525p5714577.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to