Hi Emmanuel,
That's exactly what I tried before I posted this question. But I got exception as below:
org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: No selector for
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:423)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:570)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:142)
at au.com.SearchService.searchDocsFromRepository(SearchService.java:132)