Documentum 6.5 Web Services and authorization issue
Does anyone know if other than being a user setup on the docbase if you have to have certain web service privileges as well? I am a valid user because via DA I can test my connection to the docbase and successfully get in. I am a web service consumer without the DFS Productivity Layer
The steps I am doing are via Java code
1.) Generate JAX-WS Java Client from the WSDL(s) for the ContextRegistryService , ObjectService
2.) Get secure token via ContextRegistryService (successfully getting token)
3.) Inject token into SOAPHeaders via (Headers.create(....) for the Request message to the ObjectService.
4.) When I called the create method apart of the ObjectService I get the following exception.
"AuthorizationException - Authorization failed, please review identities provided in service context"
What exactly is the service context? Trying to figure out what I need to do to modify my user account to be able to connect via web services. Any help is greatly appreciated. Thanks
Answers
-
My expirience is with 6.0 SP1, but maybe it can help.
If you add only token to the service context, then you may get that authorization issue. I assume you do not want to add username and password for every request, so you need to do a little "trick" while creating SOAP header. This works for me fine in 6.0SP1:
<![CDATA[
//create soap header like this
SOAPHeaderElement header = new SOAPHeaderElement(buildSecurityElement(yourTokenFromContextRegistryService));
//create security element object which is put in the header
private Element buildSecurityElement(String sToken) throws ParserConfigurationException {
// CREATE parser for creating DOM objects, root document
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
Document doc = dbf.newDocumentBuilder().newDocument();
// CREATE parent <wsse:Security> and child <wsse:BinarySecurityToken> element
Element securityElement = doc.createElementNS(WSSE_NS, "wsse:Security");
Element child = doc.createElementNS(WSSE_NS, "wsse:BinarySecurityToken");
child.setAttribute("QualficationValueType", "http://schemas.emc.com/documentum#ResourceAccessToken");
Text tokenText = doc.createTextNode(sToken);
child.appendChild(tokenText);
securityElement.appendChild(child);
return securityElement;
}
]]>Thanks for Fabian Lee, posted this on powerlink's forums:
So you do not need to modify your user account, every Documentum user can use web services (DFS) too.
-
-
Here is how I am adding to the SOAPHeader
//generate wsse security element
org.w3c.dom.Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
org.w3c.dom.Element wsseSecurity = document.createElementNS(WSSE_NAMESPACE, "wsse:Security");
org.w3c.dom.Element wsseToken = (Element) wsseSecurity.appendChild(document.createElementNS(WSSE_NAMESPACE,"wsse:BinarySecurityToken"));
wsseToken.setAttribute("QualificationValueType", EMC_RAD);
wsseToken.setAttributeNS(WSU_NAMESPACE, "wsu:Id", "RAD");
wsseToken.setTextContent(token);
//add element to SOAP Header
WSBindingProvider wsbp = ((WSBindingProvider) objServicePort);
Header header = Headers.create(wsseSecurity);
wsbp.setOutboundHeaders(header);
-
Looks like your identities are being passed ok to the server side, but the authentication process failed for some reasons. Please make sure your dfc.properties in the services EAR points to the correct docbase.
I would need to take a look at the SOAP message that is being sent to the server and the SOAP message you get back in order to further troubleshoot.
-
Code to create testFolder and then call Object service.
ObjectIdentity folderIdentity = new ObjectIdentity();
folderIdentity.setValueType(ObjectIdentityType.OBJECT_ID);
folderIdentity.setRepositoryName(identity.getRepositoryName());
DataObject dataObject = new DataObject();
dataObject.setIdentity(folderIdentity);
dataObject.setType("dm_folder");
PropertySet properties = new PropertySet();
String folderName = "TestFolder" + System.currentTimeMillis();
StringProperty prop = new StringProperty();
prop.setName("object_name");
prop.setValue(folderName);
properties.getProperties().add(prop);
DataPackage dataPackage = new DataPackage();
dataPackage.getDataObjects().add(dataObject);
OperationOptions operationOptions = null;
DataPackage returned = objServicePort.create(dataPackage, operationOptions);
//SOAP message that code generates
POST /services/core/ObjectService HTTP/1.1
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, /; q=.2
Content-Type: multipart/related;type="application/xop+xml";boundary="uuid:b7b216e7-0c3a-48fc-a001-467f0f39ad46";start-info="text/xml"
SOAPAction:
User-Agent: Java/1.5.0
Host: localhost:2033
Connection: keep-alive
Content-Length: 1421
--uuid:b7b216e7-0c3a-48fc-a001-467f0f39ad46
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Content-Transfer-Encoding: binary
<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken QualificationValueType="http://schemas.emc.com/documentum#ResourceAccessToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="RAD">65testserver/10.3.1.246-1220554135505-7304825598025877417-4</wsse:BinarySecurityToken></wsse:Security></S:Header><S:Body><ns8:create xmlns:ns9="http://context.core.datamodel.fs.documentum.emc.com/" xmlns:ns8="http://core.services.fs.documentum.emc.com/" xmlns:ns7="http://rt.fs.documentum.emc.com/" xmlns:ns6="http://profiles.core.datamodel.fs.documentum.emc.com/" xmlns:ns5="http://core.datamodel.fs.documentum.emc.com/" xmlns:ns4="http://content.core.datamodel.fs.documentum.emc.com/" xmlns:ns3="http://properties.core.datamodel.fs.documentum.emc.com/" xmlns:ns2="http://query.core.datamodel.fs.documentum.emc.com/"><dataPackage><ns5:DataObjects type="dm_folder"><ns5:Identity repositoryName="TEST_docbase" valueType="OBJECT_ID"></ns5:Identity></ns5:DataObjects></dataPackage></ns8:create></S:Body></S:Envelope>
uuid:b7b216e7-0c3a-48fc-a001-467f0f39ad46//message returned from SERVER
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP01 (build: SVNTag=JBPAPP_4_2_0_GA_CP01 date=200709131706)/Tomcat-5.5
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 04 Sep 2008 18:49:19 GMT
Connection: close
2000
<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Server</faultcode><faultstring>Authorization failed, please review identities provided in service context "65testserver-1220554135505-7304825598025877417-4"</faultstring><detail><ns8:SerializableException xmlns:ns8="http://rt.fs.documentum.emc.com/" xmlns:ns2="http://properties.core.datamodel.fs.documentum.emc.com/" xmlns:ns3="http://core.datamodel.fs.documentum.emc.com/" xmlns:ns4="http://core.services.fs.documentum.emc.com/" xmlns:ns5="http://content.core.datamodel.fs.documentum.emc.com/" xmlns:ns6="http://profiles.core.datamodel.fs.documentum.emc.com/" xmlns:ns7="http://query.core.datamodel.fs.documentum.emc.com/"><exceptionBean><attribute><name>messageId</name><type>java.lang.String</type><value><value>E_SERVICE_AUTHORIZATION_FAILED_INVALID_IDENTITIES</value></value></attribute><attribute><name>messageArgs</name><type>[Ljava.lang.Object;</type><value><value><item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">65testserver/10.2.1.246-1220554135505-7304825598025877417-4</item></value></value></attribute><exceptionClass>com.emc.documentum.fs.rt.AuthenticationException</exceptionClass><genericType>java.lang.Exception</genericType><message>Authorization failed, please review identities provided in service context "65testserver/10.3.1.246-1220554135505-7304825598025877417-4"</message><messageId>E_SERVICE_AUTHORIZATION_FAILED_INVALID_IDENTITIES</messageId><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>119</lineNumber><methodName>authenticate</methodName></stackTrace><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>63</lineNumber><methodName>handleMessage</methodName></stackTrace><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>1</lineNumber><methodName>handleMessage</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerProcessor</className><fileName>HandlerProcessor.java</fileName><lineNumber>284</lineNumber><methodName>callHandleMessage</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerProcessor</className><fileName>HandlerProcessor.java</fileName><lineNumber>135</lineNumber><methodName>callHandlersRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.ServerSOAPHandlerTube</className><fileName>ServerSOAPHandlerTube.java</fileName><lineNumber>133</lineNumber><methodName>callHandlersOnRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerTube</className><fileName>HandlerTube.java</fileName><lineNumber>116</lineNumber><methodName>processRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>595</lineNumber><methodName>__doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>554</lineNumber><methodName>_doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>539</lineNumber><methodName>doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>436</lineNumber><methodName>runSync</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.server.WSEndpointImpl$2</className><fileName>WSEndpointImpl.java</fileName><lineNumber>243</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit</className><fileName>HttpAdapter.java</fileName><lineNumber>444</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.HttpAdapter</className><fileName>HttpAdapter.java</fileName><lineNumber>244</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.ServletAdapter</className><fileName>ServletAdapter.java</fileName><lineNumber>135</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServletDelegate</className><fileName>WSServletDelegate.java</fileName><lineNumber>129</lineNumber><methodName>doGet</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServletDelegate</className><fileName>WSServletDelegate.java</fileName><lineNumber>160</lineNumber><methodName>doPost</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServlet</className><fileName>WSServlet.java</fileName><lineNumber>75</lineNumber><methodName>doPost</methodName></stackTrace><stackTrace><className>javax.servlet.http.HttpServlet</className><fileName>HttpServlet.java</fileName><lineNumber>710</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>javax.servlet.http.HttpServlet</className><fileName>HttpServlet.java</fileName><lineNumber>803</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>290</lineNumber><methodName>internalDoFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>206</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.filters.ReplyHeaderFilter</className><fileName>ReplyHeaderFilter.java</fileName><lineNumber>96</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>235</lineNumber><methodName>internalDoFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>206</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardWrapperValve</className><fileName>StandardWrapperValve.java</fileName><lineNumber>230</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardContextValve</className><fileName>StandardContextValve.java</fileName><lineNumber>175</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.security.SecurityAssociationValve</className><fileName>SecurityAssociationValve.java</fileName><lineNumber>179</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.security.JaccContextValve</className><fileName>JaccContextValve.java</fileName><lineNumber>84</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardHostValve</className><fileName>StandardHostValve.java</fileName><lineNumber>128</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.valves.ErrorReportValve</className><fileName>ErrorReportValve.java</fileName><lineNumber>104</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.service.jca.CachedConnectionValve</className><fileName>CachedConnectionValve.java</fileName><lineNumber>157</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardEngineValve</className><fileName>StandardEngineValve.java</fileName><lineNumber>109</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catal
2000
ina.connector.CoyoteAdapter</className><fileName>CoyoteAdapter.java</fileName><lineNumber>241</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>org.apache.coyote.http11.Http11Processor</className><fileName>Http11Processor.java</fileName><lineNumber>844</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler</className><fileName>Http11Protocol.java</fileName><lineNumber>580</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>org.apache.tomcat.util.net.JIoEndpoint$Worker</className><fileName>JIoEndpoint.java</fileName><lineNumber>447</lineNumber><methodName>run</methodName></stackTrace><stackTrace><className>java.lang.Thread</className><fileName>Thread.java</fileName><lineNumber>595</lineNumber><methodName>run</methodName></stackTrace></exceptionBean><exceptionBean><exceptionClass>com.documentum.fc.client.DfAuthenticationException</exceptionClass><genericType>java.lang.Exception</genericType><message>Authentication failed for user tester with docbase TEST_docbase.</message><messageId>DM_SESSION_E_AUTH_FAIL</messageId><stackTrace><className>com.documentum.fc.client.impl.docbase.DocbaseExceptionMapper</className><fileName>DocbaseExceptionMapper.java</fileName><lineNumber>52</lineNumber><methodName>newException</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.MessageEntry</className><fileName>MessageEntry.java</fileName><lineNumber>39</lineNumber><methodName>getException</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseMessageManager</className><fileName>DocbaseMessageManager.java</fileName><lineNumber>137</lineNumber><methodName>getException</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient</className><fileName>NetwiseDocbaseRpcClient.java</fileName><lineNumber>290</lineNumber><methodName>checkForMessages</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient</className><fileName>NetwiseDocbaseRpcClient.java</fileName><lineNumber>559</lineNumber><methodName>applyForObject</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$8</className><fileName>DocbaseConnection.java</fileName><lineNumber>1232</lineNumber><methodName>evaluate</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>1000</lineNumber><methodName>evaluateRpc</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>1224</lineNumber><methodName>applyForObject</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.docbase.DocbaseApi</className><fileName>DocbaseApi.java</fileName><lineNumber>1662</lineNumber><methodName>authenticateUser</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>397</lineNumber><methodName>authenticate</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>117</lineNumber><methodName>open</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>86</lineNumber><methodName><init></methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnection</className><fileName>DocbaseConnection.java</fileName><lineNumber>54</lineNumber><methodName><init></methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionFactory</className><fileName>DocbaseConnectionFactory.java</fileName><lineNumber>26</lineNumber><methodName>newDocbaseConnection</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager</className><fileName>DocbaseConnectionManager.java</fileName><lineNumber>73</lineNumber><methodName>getDocbaseConnection</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.SessionFactory</className><fileName>SessionFactory.java</fileName><lineNumber>29</lineNumber><methodName>newSession</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.PrincipalAwareSessionFactory</className><fileName>PrincipalAwareSessionFactory.java</fileName><lineNumber>35</lineNumber><methodName>newSession</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.PooledSessionFactory</className><fileName>PooledSessionFactory.java</fileName><lineNumber>47</lineNumber><methodName>newSession</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.SessionManager</className><fileName>SessionManager.java</fileName><lineNumber>110</lineNumber><methodName>getSessionFromFactory</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.SessionManager</className><fileName>SessionManager.java</fileName><lineNumber>63</lineNumber><methodName>newSession</methodName></stackTrace><stackTrace><className>com.documentum.fc.client.impl.session.SessionManager</className><fileName>SessionManager.java</fileName><lineNumber>167</lineNumber><methodName>getSession</methodName></stackTrace><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>95</lineNumber><methodName>authenticate</methodName></stackTrace><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>63</lineNumber><methodName>handleMessage</methodName></stackTrace><stackTrace><className>com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler</className><fileName>AuthorizationHandler.java</fileName><lineNumber>1</lineNumber><methodName>handleMessage</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerProcessor</className><fileName>HandlerProcessor.java</fileName><lineNumber>284</lineNumber><methodName>callHandleMessage</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerProcessor</className><fileName>HandlerProcessor.java</fileName><lineNumber>135</lineNumber><methodName>callHandlersRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.ServerSOAPHandlerTube</className><fileName>ServerSOAPHandlerTube.java</fileName><lineNumber>133</lineNumber><methodName>callHandlersOnRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.handler.HandlerTube</className><fileName>HandlerTube.java</fileName><lineNumber>116</lineNumber><methodName>processRequest</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>595</lineNumber><methodName>__doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>554</lineNumber><methodName>_doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>539</lineNumber><methodName>doRun</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.api.pipe.Fiber</className><fileName>Fiber.java</fileName><lineNumber>436</lineNumber><methodName>runSync</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.server.WSEndpointImpl$2</className><fileName>WSEndpointImpl.java</fileName><lineNumber>243</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.HttpAdapt
148b
er$HttpToolkit</className><fileName>HttpAdapter.java</fileName><lineNumber>444</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.HttpAdapter</className><fileName>HttpAdapter.java</fileName><lineNumber>244</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.ServletAdapter</className><fileName>ServletAdapter.java</fileName><lineNumber>135</lineNumber><methodName>handle</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServletDelegate</className><fileName>WSServletDelegate.java</fileName><lineNumber>129</lineNumber><methodName>doGet</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServletDelegate</className><fileName>WSServletDelegate.java</fileName><lineNumber>160</lineNumber><methodName>doPost</methodName></stackTrace><stackTrace><className>com.sun.xml.ws.transport.http.servlet.WSServlet</className><fileName>WSServlet.java</fileName><lineNumber>75</lineNumber><methodName>doPost</methodName></stackTrace><stackTrace><className>javax.servlet.http.HttpServlet</className><fileName>HttpServlet.java</fileName><lineNumber>710</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>javax.servlet.http.HttpServlet</className><fileName>HttpServlet.java</fileName><lineNumber>803</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>290</lineNumber><methodName>internalDoFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>206</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.filters.ReplyHeaderFilter</className><fileName>ReplyHeaderFilter.java</fileName><lineNumber>96</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>235</lineNumber><methodName>internalDoFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.ApplicationFilterChain</className><fileName>ApplicationFilterChain.java</fileName><lineNumber>206</lineNumber><methodName>doFilter</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardWrapperValve</className><fileName>StandardWrapperValve.java</fileName><lineNumber>230</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardContextValve</className><fileName>StandardContextValve.java</fileName><lineNumber>175</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.security.SecurityAssociationValve</className><fileName>SecurityAssociationValve.java</fileName><lineNumber>179</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.security.JaccContextValve</className><fileName>JaccContextValve.java</fileName><lineNumber>84</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardHostValve</className><fileName>StandardHostValve.java</fileName><lineNumber>128</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.valves.ErrorReportValve</className><fileName>ErrorReportValve.java</fileName><lineNumber>104</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.jboss.web.tomcat.service.jca.CachedConnectionValve</className><fileName>CachedConnectionValve.java</fileName><lineNumber>157</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.core.StandardEngineValve</className><fileName>StandardEngineValve.java</fileName><lineNumber>109</lineNumber><methodName>invoke</methodName></stackTrace><stackTrace><className>org.apache.catalina.connector.CoyoteAdapter</className><fileName>CoyoteAdapter.java</fileName><lineNumber>241</lineNumber><methodName>service</methodName></stackTrace><stackTrace><className>org.apache.coyote.http11.Http11Processor</className><fileName>Http11Processor.java</fileName><lineNumber>844</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler</className><fileName>Http11Protocol.java</fileName><lineNumber>580</lineNumber><methodName>process</methodName></stackTrace><stackTrace><className>org.apache.tomcat.util.net.JIoEndpoint$Worker</className><fileName>JIoEndpoint.java</fileName><lineNumber>447</lineNumber><methodName>run</methodName></stackTrace><stackTrace><className>java.lang.Thread</className><fileName>Thread.java</fileName><lineNumber>595</lineNumber><methodName>run</methodName></stackTrace></exceptionBean><message>Authorization failed, please review identities provided in service context "65testserver/10.3.1.246-1220554135505-7304825598025877417-4"</message></ns8:SerializableException></detail></S:Fault></S:Body></S:Envelope>
0
-
-
-
I really think this is a configuration issue.
I just tried to find details of configuring the web services in the following guides and couldnt' find any references. Does anyone know where this information lives?
Other than running the standard installation.exe for documentum 6.5 nothing has been configured on the jboss server.
ContentServiceInstallGuide65.pdf
Documentum_Content_Server_Admin_Guide65.pdf
-
-
You can't disable authentication through a config file -- the service has to be rebuilt in order to not require authentication.
The only possible config in dfc.properties is the docbroker IP. Please confirm that you are using the same docbroker in case of your DA and DFS services logins.
Please also make sure you are instantiating your RepositoryIdentity properly. If you don't need to specify a DFC domain, it should look like:
new RepositoryIdentity("repoName", "userName", "password", "");
Please confirm this is the case before going forward.
-
Sometimes Google search yields quick results
Here is a post showing one way to turn authentication off, obtained by googling for "dfs authorization fail"
-
Got a new error today, Has anyone seen this before?
00000030 SystemErr R Caused by: java.lang.Exception: "Setup for unified logon failed. Please see the log for more details"
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.initializeUnifiedLogin(_DocbaseConnection.java:1523_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.authenticate(_DocbaseConnection.java:390_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.open(_DocbaseConnection.java:117_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(_DocbaseConnection.java:86_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(_DocbaseConnection.java:54_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionFactory.newDocbaseConnection(_DocbaseConnectionFactory.java:26_)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.getDocbaseConnection(_DocbaseConnectionManager.java:73_)
at com.documentum.fc.client.impl.session.SessionFactory.newSession(_SessionFactory.java:29_)
at com.documentum.fc.client.impl.session.PrincipalAwareSessionFactory.newSession(_PrincipalAwareSessionFactory.java:35_)
at com.documentum.fc.client.impl.session.PooledSessionFactory.newSession(_PooledSessionFactory.java:47_)
at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(_SessionManager.java:110_)
at com.documentum.fc.client.impl.session.SessionManager.newSession(_SessionManager.java:63_)
at com.documentum.fc.client.impl.session.SessionManager.getSession(_SessionManager.java:167_)
at com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler.authenticate(_AuthorizationHandler.java:95_)
at com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler.handleMessage(_AuthorizationHandler.java:63_)
at com.emc.documentum.fs.rt.impl.handler.AuthorizationHandler.handleMessage(_AuthorizationHandler.java:1_)
at com.sun.xml.ws.handler.HandlerProcessor.callHandleMessage(_HandlerProcessor.java:284_)
at com.sun.xml.ws.handler.HandlerProcessor.callHandlersRequest(_HandlerProcessor.java:135_)
at com.sun.xml.ws.handler.ServerSOAPHandlerTube.callHandlersOnRequest(_ServerSOAPHandlerTube.java:133_)
at com.sun.xml.ws.handler.HandlerTube.processRequest(_HandlerTube.java:116_)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(_Fiber.java:595_)
at com.sun.xml.ws.api.pipe.Fiber._doRun(_Fiber.java:554_)
at com.sun.xml.ws.api.pipe.Fiber.doRun(_Fiber.java:539_)
at com.sun.xml.ws.api.pipe.Fiber.runSync(_Fiber.java:436_)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(_WSEndpointImpl.java:243_)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(_HttpAdapter.java:444_)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(_HttpAdapter.java:244_)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(_ServletAdapter.java:135_)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(_WSServletDelegate.java:129_)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(_WSServletDelegate.java:160_)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(_WSServlet.java:75_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:290_)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:206_)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(_ReplyHeaderFilter.java:96_)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:235_)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:206_)
at org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:230_)
at org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:175_)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(_SecurityAssociationValve.java:179_)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(_JaccContextValve.java:84_)
at org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:128_)
at org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:104_)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(_CachedConnectionValve.java:157_)
at org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:109_)
at org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:241_)
at org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:844_)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(_Http11Protocol.java:580_)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(_JIoEndpoint.java:447_)
-
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax