AnsweredAssumed Answered

repository-service.wsdl problem

Question asked by ibobalca on Aug 2, 2007
Latest reply on Apr 25, 2008 by char
Hi!

I have some problems consuming the Repository Web Service. I already tried what was suggested here http://forums.alfresco.com/viewtopic.php?p=11234
but i still get some errors :
[WARNING] s4s-att-not-allowed: Attribute 'nillable' cannot appear in element 'group'.

  line 199 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/cml.xsd



[WARNING] src-resolve.4.2: Error resolving component 'cms:Store'. It was detected that 'cms:Store' is in namespace 'http://www.alfresco.org/ws/model/content/1.0', but components from this namespace are not referenceable from schema document 'file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/repository-service.wsdl#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'cms:Store' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/repository-service.wsdl#types?schema1'.

  line 35 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/repository-service.wsdl#types?schema1



[WARNING] s4s-att-not-allowed: Attribute 'nillable' cannot appear in element 'group'.

  line 24 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/cml.xsd



[ERROR] A class/interface with the same name "javaapplication32.Query" is already in use. Use a class customization to resolve this conflict.

  line 54 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/repository-service.wsdl



[ERROR] (Relevant to above error) another "Query" is generated from here.

  line 203 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/types.xsd



[ERROR] Two declarations cause a collision in the ObjectFactory class.

  line 203 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/types.xsd



[ERROR] (Related to above error) This is the other declaration.  

  line 54 of file:/F:/temp/JavaApplication3/xml-resources/web-service-references/repository-service/wsdl/tcebelli_8082/alfresco/wsdl/repository-service.wsdl



BUILD SUCCESSFUL (total time: 1 second)

Anyway, why is this service not working out-of-the-box ?

Outcomes