cancel
Showing results for 
Search instead for 
Did you mean: 

AuthenticationUtils not found

shuklasumit
Champ in-the-making
Champ in-the-making
I am getting the following problem while trying to access the sample provided with the sdk. I've tried setting the classpath to the required jar file explicitly with no avail. Kindly provide the suggestions to help in this regard.

Thanks
Sumit

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: WSDoAllSender: cannot load password callback class: org.alfresco.webservice.util.AuthenticationUtils; nested exception is:
        java.lang.ClassNotFoundException: org.alfresco.webservice.util.AuthenticationUtils
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}hostname:lappy_sumit

WSDoAllSender: cannot load password callback class: org.alfresco.webservice.util.AuthenticationUtils; nested exception is:
        java.lang.ClassNotFoundException: org.alfresco.webservice.util.AuthenticationUtils
        at org.apache.ws.axis.security.WSDoAllSender.readPwViaCallbackClass(WSDoAllSender.java:890)
        at org.apache.ws.axis.security.WSDoAllSender.getPassword(WSDoAllSender.java:859)
        at org.apache.ws.axis.security.WSDoAllSender.performUTAction(WSDoAllSender.java:465)
        at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:314)
        at org.apache.axis.strategies.InvocationStrategy.visitInvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:127)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.u
pdate(RepositoryServiceSoapBindingStub.java:993)
        at org.alfresco.sample.FirstWebServiceClient.main(FirstWebServiceClient.
java:90)
Caused by: java.lang.ClassNotFoundException: org.alfresco.webservice.util.AuthenticationUtils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.apache.ws.axis.security.WSDoAllSender.readPwViaCallbackClass(WSDoAllSender.java:888)
        … 14 more
WSDoAllSender: cannot load password callback class: org.alfresco.webservice.util.AuthenticationUtils; nested exception is:
        java.lang.ClassNotFoundException: org.alfresco.webservice.util.AuthenticationUtils
1 REPLY 1

shuklasumit
Champ in-the-making
Champ in-the-making
Hi, Any help in the query posted above will be very helpful. I am able to access the webservices using .net but not with the sample provided with the 1.4 sdk provided.

Thanks
Sumit