You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Rajath Shashidhara <ra...@gmail.com> on 2013/06/24 12:25:54 UTC
OpenCMIS URL syntax
Hello,
I just checked url syntax of opencmis for atopub binding from this:
http://chemistry.apache.org/java/developing/dev-url.html
But,the problem is the example url in the end on this page doesnt follow
the pattern u have given.
URL ::= http://<HOST>:<PORT>/<SERVLET-PATH>/<REPOSITORY-ID>/<RESOURCE>?<PARAM=VALUE>&<PARAM=VALUE>&....
http://localhost:8080/opencmis/atom/A1/children?id=2FF2000
Now..
Host: localhost
port:8080
servlet-path: opencmis
repositoryid: A1
resource:children.
But this doesnt accommodate for the extra atom in the path.
or servlet path is: opencmis/atom.
So how do i generalize a path into its components ?
because the servlet path could have any number of '/'.
Please help.
I'm gsoc intern for apache openoffice.
--
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani