Re: the password callback class can't be found by tomcat when I upload my web service with rampart security

robert lazarski <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBWcYPnxpiMmz1pcM5JS5bcDsE4B9k49n9CeiN6S5mx3uA@mail.gmail.com>
On Sun, May 5, 2013 at 12:39 PM, Tania Marinova <[email protected]>wrote:

>
>    Hello I made an axis 2 web service using Eclipse, then I decided to
> add rampart security, so I added the PWCBHandler.java class to my dynamic
> project and I added to policy in my services.xml
> But when I make a .aar file, I go to the folder of my project and I see
> that only the source class file but I can't find the PWCBHandler.class is
> in the project folder and when I make a request, I get the message that com.gismo
> PWCBHAndler class cannot be found
>

An aar is just a jar file, so you simply need to build somehow in order to
generate the class to the right place. You should be able to force building
your workspace in Eclipse via --> Project --> clean . Or build via ant /
maven etc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.