Here's what I'm using in my JAX-RS based implementation of CMIS on top of Nuxeo:

    @POST
    @Path("node/{uuid}/children")
    @Consumes("application/atom+xml;type=entry")
    @Produces("application/atom+xml;type=entry")
public Response createObject(@PathParam("uuid") String uuid) throws Exception {
        ...
    }

  S.

On Dec 2, 2009, at 9:53 AM, Florian Roth wrote:

Hi,

can someone give me an example how to implement a doCreateFolder with jax-rs?

   @POST
   @Consumes(?)
   @Produces(?)
   @Path("/{objectid}/children?)
   public Response doCreateFolder()
   {
       ????
   }

Best regards

Florian Roth


in-integrierte informationssysteme GmbH
Am Seerhein 8 • 78467 Konstanz
http://www.in-gmbh.de/mailto:[email protected]

Telefon: +49 7531 8145-0
Telefax: +49 7531 8145-81


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e- mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Sitz der Gesellschaft: Konstanz • Amtsgericht Freiburg i.B. • Registernummer: HRB 380976 • Geschäftsführer: Siegfried Wagner




--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

Reply via email to