AnsweredAssumed Answered

Problem to acces ALFRESCO with RESIN Application Server

Question asked by parlocchio on May 8, 2006
Latest reply on May 9, 2006 by parlocchio
Hi

I've tried to access ALFRESCO repository installed on standard TOMCAT with my own JAVA application via WebServices API without proble

Now I've migrate ALFRESCO Standard Web Client Application on Resin application Server ver.3.0.18 and all works fine with Standard Alfresco Web Client.

But I've problem to access repository with mi JAVA Application because this exception was raised:


     AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: WSDoAllReceiver: Request does not contain required Security header
faultActor:
faultNode:
faultDetail:
   {http://xml.apache.org/axis/}stackTrace:WSDoAllReceiver: Request does not contain required Security header
   at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:194)
   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:154)
   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
   at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
   at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
   at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
   at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
   at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
   at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:492)
   at com.caucho.util.ThreadPool.run(ThreadPool.java:425)
   at java.lang.Thread.run(Thread.java:613)

   {http://xml.apache.org/axis/}hostname:iWebAppServer

WSDoAllReceiver: Request does not contain required Security header
   at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
   at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
   at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
   at com.caucho.xml.XmlParser.popNode(XmlParser.java:883)
   at com.caucho.xml.XmlParser.closeTag(XmlParser.java:784)
   at com.caucho.xml.XmlParser.parseNode(XmlParser.java:357)
   at com.caucho.xml.XmlParser.parseInt(XmlParser.java:246)
   at com.caucho.xml.AbstractParser.parse(AbstractParser.java:615)
   at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
   at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
   at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
   at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
   at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
   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.query(RepositoryServiceSoapBindingStub.java:774)
   at _test._alfrescoWebServices__jsp.executeSearch(_alfrescoWebServices__jsp.java:58)
   at _test._alfrescoWebServices__jsp._jspService(_alfrescoWebServices__jsp.java:131)
   at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
   at com.caucho.jsp.Page.subservice(Page.java:506)
   at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
   at com.caucho.server.http.Invocation.service(Invocation.java:315)
   at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
   at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
   at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
   at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
   at java.lang.Thread.run(Thread.java:613)
     

I've installed Alfresco on standard 8080 port.

Can someone help me ?  :?

Outcomes