Hi.
I am trying to call Alfresco CMIS SOAP API. For start I try using SoapUI. I use basic authentication. Atom REST API in SoapUI works fine but with SOAP I get this error
request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://docs.oasis-open.org/ns/cmis/messaging/200908/">
<soapenv:Header/>
<soapenv:Body>
<ns:getRepositories/>
</soapenv:Body>
</soapenv:Envelope>
response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap
erver</faultcode>
<faultstring>Fault occurred while processing.</faultstring>
<detail>
<cmisFault xmlns:ns2="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/">
<type>runtime</type>
<code>0</code>
</cmisFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
In log is
2017-12-05 16:30:39,156 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-8] Exception from executeScript: 11050011 Wrapped Exception (with status template): 11050380 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/collaboration/tagQuery.get.js': 11050379 Access Denied. You
do not have the appropriate permissions to perform this operation.
org.springframework.extensions.webscripts.WebScriptException: 11050011 Wrapped Exception (with status template): 11050380 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/collaboration/tagQuery.get.js': 11050379 Access Denied. You do not have the appropriate permissions to perform this operation.
Catalina.log
2017-12-09 07:24:15,146 ERROR [impl.webservices.AbstractService] [ajp-apr-8009-exec-10]
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException
at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:106)
...
Caused by: java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
at com.google.common.cache.LocalCache.getIfPresent(LocalCache.java:3953)
at com.google.common.cache.LocalCache$LocalManualCache.getIfPresent(LocalCache.java:4758)
at org.alfresco.repo.cache.DefaultSimpleCache.get(DefaultSimpleCache.java:133)
at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.isUserProtected(AuthenticationServiceImpl.java:151)
at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:114)
at org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService.authenticate(AbstractChainingAuthenticationService.java:202)
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.beforeCall(AlfrescoCmisServiceImpl.java:3221)
at org.alfresco.opencmis.AlfrescoCmisServiceInterceptor.invoke(AlfrescoCmisServiceInterceptor.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:90)
What is a problem?
Thanks in advance.