cancel
Showing results for 
Search instead for 
Did you mean: 

Repository Service from .NET?

emrobi
Champ in-the-making
Champ in-the-making
I am attempting to use the repository-service.wsdl from within a Visual Studio 2003 (.Net 1.1) C# program, but get the following error:

C:\svn\research\nexus\Alfresco\Web References\Repository\Reference.map(1): Custom tool error: Unable to import WebService/Schema. Unable to import binding 'RepositoryServiceSoapBinding' from namespace 'http://www.alfresco.org/ws/service/repository/1.0'. Unable to import operation 'query'. Element message named QueryConfiguration from namespace http://www.alfresco.org/ws/service/repository/1.0 is missing.

Here's what I've done so far:

- Downloaded and installed Alfresco 1.1.2 (with tomcat) on an Ubuntu Linux machine. Working just fine.
- Downloaded the source for Alfresco 1.1.2 onto my Windows box.
- Using the WSDL files from the source, added a Web Reference to authentication-service.wsdl. Seems to work just fine. Using the service, I can start and end a session against Alfresco on my Ubuntu Linux box.

However, when I try to add a web reference to 'repository-service.wsdl' I get the error described above.

I can successfully create web references to the other services (authoring, classification and content), but haven't tried to use them programmatically.

Any suggestions? Is anyone else using .Net with the web services?

Thanks,
Eric
12 REPLIES 12

rwetherall
Confirmed Champ
Confirmed Champ
No problem 🙂

If you feel you can add any improvements to the .NET samples or helper classes we are always grateful for contributions.

Thanks,
Roy

pmarreddy
Champ in-the-making
Champ in-the-making
hi,

We intend to extend this further to provide an Alfresco assembly that contains the web references and a number of helper classes making Alfresco .NET development easier (you'll see the beginings of this in the next release).



when can we expect more support for .net an (an appoximate time frame).


i am woking on integrating alfresco with wcf, as soon as i get it working i will post them on the forums. i am working on a the header issue, as sson as i am through with that i will post that on the forums.


thanks prasanth.

pmarreddy
Champ in-the-making
Champ in-the-making
I was able to reproduce the issue you saw with the repository service and it is now fixed (it was because of a mistake in the WSDL that no other language picked up!).

can u specify what the error u figured out in the wsdl becasue i cannot create the proxys for services other than repository service.

thanks prasanth