开发者

How Silverlight 4 to consume restful service from Alfresco Webscript?

开发者 https://www.devze.com 2023-03-08 19:30 出处:网络
I am working on a project which request to get/send data from Alfresco. Alfresco can provide webscript as restful service.

I am working on a project which request to get/send data from Alfresco.

Alfresco can provide webscript as restful service.

So how Silverlight 4 to consume restful service from Alfresco Webscript?

Alfresco also provide WebService. How SL 4 can use those Web Serv开发者_JAVA技巧ices?


Most Alfresco webscripts are RESTful, and return JSON.

If you have a look through http://localhost:8080/alfresco/service/index then it'll let you see what webscripts there are, what parameters they take, and some information on what they return.

Then, when you've found your webscript, you likely want to fetch it with the appropriate parameters specified, and potentially with appropriate authentication. If it's a JSON returning webscript, you then parse the JSON with a suitable parser for your language, and then work with the data you got back.

You might also want to read through http://wiki.alfresco.com/wiki/Web_Scripts to get a better idea of how webscripts work.

0

精彩评论

暂无评论...
验证码 换一张
取 消