cancel
Showing results for 
Search instead for 
Did you mean: 

Repository-service.wsdl problem with Visual Studio 2005

gentyjp
Champ in-the-making
Champ in-the-making
Hi

I try to use web services from 1.4 preview with Visual Studio 2005.

I point to the repository-service.wsdl contained in the war file.

<myTomcat>/alfresco/wsdl/repository-service.wsdl

Authentification, Clasification and Content wsdl work fine.

With Repository WSDL file, I have a problem telling that the file is recognized but was not treated, WDSL document contains some links that could not be resolved, 'nillable' attribute is not accepted in this context.

I have the same message if I launch directly wsdl.exe from SDK 2.0 bin directory.

   
  Does someone experienced the same problem ?

   Thanks !!!

Jean-Paul
5 REPLIES 5

rpldcox
Champ in-the-making
Champ in-the-making
Yes, I saw the same problem this afternoon. All the WSDL files can be imported except repository-service.

Also, I was expecting to find fileSystem-service.wsdl - but this is not present and I can't find it anywhere. Perhaps it is under development…

gentyjp
Champ in-the-making
Champ in-the-making
Hi

Maybe there's an hint for the solution in the scottp 's post

http://forums.alfresco.com/viewtopic.php?t=2000&highlight=repositoryservice+wsdl

He also has a problem with repository-service.wsdl: the problem is maybe in cml.xsd, where nillable is not allowed on group.

I'll try to test the solution on .NET.


Regards

Jean-Paul

gentyjp
Champ in-the-making
Champ in-the-making
I deleted the nillable="true" in cml.xsd around line 197, for the cms:ChildAssociation entry.

  I tested with c#, it works fine now.

  Regards

Jean-Paul

keith_fr
Champ in-the-making
Champ in-the-making
For information, I tested the schema cml.xsd on the site W3C and it is not a valid XML schema:
http://www.w3.org/2001/03/webdata/xsv

The problem is therefore in the WSDL/XSD supplied.
The workaround is IMHO correct, but it should be changed in the Alfresco distribution.

Keith

jamesairey
Champ in-the-making
Champ in-the-making
well, I'm doing much the same thing almost a year on, and it doesn't seem to have been changed in the source.

Makes me wonder if they have tested their web services from any client other than Java.