users@glassfish.java.net

Howto call Webservice on JDBCRealm secured server

From: <forums_at_java.net>
Date: Thu, 28 Jul 2011 04:20:21 -0500 (CDT)

Hi,

I have a Webservice running on Glassfish 3.1. I configured a JDBCRealm, added
some role annotations and added the role mapping and realm to
glassfish-application.xml. When I call the annotated methods I now get an
exeption saying "Client not authorized ...". Everything as expected.

My problem is the client side. How do I login and call the Webservice? I
couldn't find anything in the Glassfish documentation.

Thanks,

FK


--
[Message sent by forum member 'fk185']
View Post: http://forums.java.net/node/826948