3 Replies Latest reply on Nov 20, 2013 1:19 PM by user12846822

    Does Content Categorizer work with GenericSOAP Services?

    683278

      I am doing a SharePoint to WebCenter integration.  I have Sharepoint site making a WebCenter 16200/idcws/GenericSoapPort?WSDL call pushing documents to WebCenter and checking them in successfully.  I also can also of course check in files using the Web Center UI. However, when I turn on ContentCategorizer and do the same test the checkin from the WebCenter UI works fine, but the WebServices SOAP check in from SharePoint results in an error in the UCM_server1 log complaining about "zero length file".  I am using the CHECKIN_UNIVERSAL service.  This is the stack trace from my server below.  I suspect that my SOAP envelop needs another parameter which the WebCenter UI probably supplies when it does its checkin, but I have no clue what it could be. Has anyone used the Generic SOAP services to check in with content categorizer turned on?

       

      ueue: 'weblogic.kernel.Default (self-tuning)'] [userId: demouser] [ecid: 41496fe38de62a8a:-6ec4b358:142266f1e32:-8000-0000000000                                         0005c9,0] [APP: Oracle Universal Content Management - Content Server] [J2EE_APP.name: Oracle UCM Web Services] [J2EE_MODULE.name                                         : idcws.war] [WEBSERVICE.name: GenericSoapService] [WEBSERVICE_PORT.name: GenericSoapPort] general exception
      [2013-11-04T23:07:51.540-05:00] [UCM_server1] [ERROR] [UCM-CS-000001] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '0' for q                                         ueue: 'weblogic.kernel.Default (self-tuning)'] [userId: demouser] [ecid: 41496fe38de62a8a:-6ec4b358:142266f1e32:-8000-0000000000                                         0005c9,0] [APP: Oracle Universal Content Management - Content Server] [J2EE_APP.name: Oracle UCM Web Services] [J2EE_MODULE.name                                         : idcws.war] [WEBSERVICE.name: GenericSoapService] [WEBSERVICE_PORT.name: GenericSoapPort] general exception
      [2013-11-04T23:07:51.541-05:00] [UCM_server1] [ERROR] [UCM-CS-000001] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '0' for q                                         ueue: 'weblogic.kernel.Default (self-tuning)'] [userId: demouser] [ecid: 41496fe38de62a8a:-6ec4b358:142266f1e32:-8000-0000000000                                         0005c9,0] [APP: Oracle Universal Content Management - Content Server] [J2EE_APP.name: Oracle UCM Web Services] [J2EE_MODULE.name                                         : idcws.war] [WEBSERVICE.name: GenericSoapService] [WEBSERVICE_PORT.name: GenericSoapPort] general exception[[
      intradoc.common.ServiceException: !csUnableToCheckIn,ATestFile6!$Attempt to Categorize zero length file.
      *ScriptStack CHECKIN_UNIVERSAL
      3:sccComputeMetadataCheckin,dDocName=ATestFile6
              at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2173)
              at intradoc.server.Service.buildServiceException(Service.java:2402)
              at intradoc.server.Service.createServiceExceptionEx(Service.java:2396)
              at intradoc.server.Service.createServiceException(Service.java:2391)
              at contentcategorizer.SccHandler.sccComputeMetadata(SccHandler.java:959)
              at contentcategorizer.SccHandler.sccComputeMetadataCheckin(SccHandler.java:335)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
              at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
              at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
              at intradoc.server.Service.doCodeEx(Service.java:620)
              at intradoc.server.Service.doCode(Service.java:592)
              at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
              at intradoc.server.Service.doAction(Service.java:564)
              at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
              at intradoc.server.Service.doActions(Service.java:559)
              at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
              at intradoc.server.Service.executeActions(Service.java:545)
              at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
              at intradoc.server.Service.doRequest(Service.java:1974)
              at intradoc.server.ServiceManager.processCommand(ServiceManager.java:486)
              at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
              at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1355)
              at intradoc.idcwls.IdcServletRequestUtils.executeRequest(IdcServletRequestUtils.java:2384)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
              at idcservlet.common.ClassHelperUtils.executeStaticMethodEx(ClassHelperUtils.java:390)
              at idcservlet.common.ClassHelperUtils.executeStaticMethod(ClassHelperUtils.java:369)
              at idcservlet.webservices.idcws.GenericSoapPortTypeImpl.genericSoapOperation(GenericSoapPortTypeImpl.java:147)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:370)
              at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:202)
              at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:477)
              at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
              at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1131)
              at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1129)
              at java.security.AccessController.doPrivileged(Native Method)
              at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
              at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
              at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:                                         242)
              at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.ja                                         va:83)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
              at weblogic.security.Security.runAs(Security.java:61)
              at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
              at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
              at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:                                         242)
              at oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:458)
              at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1149)
              at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
              at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
              at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
              at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
              at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
              at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
              at java.security.AccessController.doPrivileged(Native Method)
              at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
              at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
              at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
              at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
              at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
              at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
              at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
              at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
              at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)