Hi all ,I cannot get my MDB to use the repository through the WS api.I get the exception below , on the second method call to the ws api after session is started.
AuthenticationUtils.startSession(USERNAME, PASSWORD); // OK
RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService(); // OK
Store[] stores = repositoryService.getStores(); // it bugs here even if I try another method from WebServiceFactory
23:22:04,234 INFO [STDOUT] AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: WSDoAllReceiver: security processing failed (actions number mismatch)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:WSDoAllReceiver: security processing failed (actions number mismatch)
at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:351)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
I get the same if I run the WS sample1 (from within eclipse). Therefore, it may be a configuration problem. What is the installation procedure to use the WS API ? Has anyone encountered that error ?Any help greatly appreciatedAs a workaround, how can I disable security ?ThanksJerome context : Alfresco 1.2.0 , rebuilded from source on top of Jboss bundle install, on a W2K box , fresh db , no content in the repo except initial spaces