chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: TCK failure only in WEB SERVICES binding
Date Wed, 05 Sep 2012 08:37:28 GMT
 Hi Sagara,

 Please check on the server side, if you set content length on the 
 ContentStream object correctly.
 The AtomPub binding ignores that value and re-calculates it on the 
 client. The Web Services binding trusts the server, though.


 Florian


> Hi Florian,
>
> Sorry for that. :) The text is as follows:
>
> ***************************************************************
> Test Report: Wed Sep 05 13:54:10 IST 2012
> ***************************************************************
> cmis.workbench.folder.filter =
> 
> cmis:isVersionSeriesCheckedOut,cmis:contentStreamLength,cmis:lastModifiedBy,cmis:objectTypeId,cmis:versionSeriesCheckedOutId,cmis:createdBy,cmis:name,cmis:contentStreamMimeType,cmis:objectId,cmis:creationDate,cmis:lastModificationDate,cmis:contentStreamFileName
> cmis.workbench.folder.includeAcls = false
> cmis.workbench.folder.includeAllowableActions = false
> cmis.workbench.folder.includePolicies = false
> cmis.workbench.folder.includeRelationships = none
> cmis.workbench.folder.maxItemsPerPage = 10000
> cmis.workbench.folder.orderBy = null
> cmis.workbench.folder.renditionFilter = cmis:none
> cmis.workbench.object.filter = *
> cmis.workbench.object.includeAcls = true
> cmis.workbench.object.includeAllowableActions = true
> cmis.workbench.object.includePolicies = true
> cmis.workbench.object.includeRelationships = both
> cmis.workbench.object.maxItemsPerPage = 1000
> cmis.workbench.object.orderBy = null
> cmis.workbench.object.renditionFilter = *
> cmis.workbench.version.filter =
> 
> cmis:isLatestMajorVersion,cmis:contentStreamLength,cmis:objectTypeId,cmis:name,cmis:contentStreamMimeType,cmis:objectId,cmis:isMajorVersion,cmis:contentStreamFileName,cmis:isLatestVersion,cmis:versionLabel
> cmis.workbench.version.includeAcls = false
> cmis.workbench.version.includeAllowableActions = false
> cmis.workbench.version.includePolicies = false
> cmis.workbench.version.includeRelationships = none
> cmis.workbench.version.maxItemsPerPage = 10000
> cmis.workbench.version.renditionFilter = cmis:none
> org.apache.chemistry.opencmis.binding.auth.classname =
> 
> org.apache.chemistry.opencmis.client.bindings.spi.StandardAuthenticationProvider
> org.apache.chemistry.opencmis.binding.auth.http.basic = true
> org.apache.chemistry.opencmis.binding.auth.soap.usernametoken = true
> org.apache.chemistry.opencmis.binding.cache.links.size = 400
> org.apache.chemistry.opencmis.binding.cache.repositories.size = 10
> org.apache.chemistry.opencmis.binding.cache.types.size = 100
> org.apache.chemistry.opencmis.binding.compression = true
> org.apache.chemistry.opencmis.binding.cookies = true
> org.apache.chemistry.opencmis.binding.spi.classname =
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.CmisWebServicesSpi
> org.apache.chemistry.opencmis.binding.spi.type = webservices
> org.apache.chemistry.opencmis.binding.webservices.ACLService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.DiscoveryService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.MultiFilingService 
> =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.NavigationService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.ObjectService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.PolicyService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.RelationshipService 
> =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.RepositoryService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.binding.webservices.VersioningService =
> http://localhost:8080/GregCmisServer/services/ObjectService?wsdl
> org.apache.chemistry.opencmis.session.repository.id = Governance 
> Registry
> org.apache.chemistry.opencmis.tck.default.documentType = 
> cmis:document
> org.apache.chemistry.opencmis.tck.default.folderType = cmis:folder
> org.apache.chemistry.opencmis.tck.default.testFolderParent = /
> org.apache.chemistry.opencmis.tck.timestamp = Version: 0.7.0 / 
> Revision:
> 1326338 / Build: 2012-04-15T15:46:12+0200
> ***************************************************************
> ===============================================================
> CRUD Test Group (WEBSERVICES)
> ===============================================================
> ---------------------------------------------------------------
> Create Big Document Test (WEBSERVICES) (102233 ms)
> ---------------------------------------------------------------
>
>   FAILURE: New document object spec compliance 
> (CreateBigDocument.java:102)
>     FAILURE: Content lengths don't match! 
> (AbstractSessionTest.java:1024)
>       INFO: expected: 10485760 / actual: 9
>     FAILURE: Content length value doesn't match the actual content 
> length!
> (AbstractSessionTest.java:1088)
>       INFO: expected: 9 / actual: 10485760


Mime
View raw message