Results 1 to 2 of 2

Thread: Zimlet with CRUD (POST, GET, PUT and DELETE) operations

  1. #1
    dougster is offline Starter Member
    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    1

    Default Zimlet with CRUD (POST, GET, PUT and DELETE) operations

    Hey Guys,

    Just started out working with zimlets, however, my requirement is to interact with a WebService that employs CRUD operations. The AjxRpc seems to work perfectly with GET and POST operations, however, I can't seem to figure out how to send a PUT or DELETE method.

    I'd prefer to use raw interfaces on ZCS rather than loading additional libraries and modules.

    Do you guys have any suggestions around how to accomplish the PUT and DELETE methods - and potentially using the same framework, accommodate GET and POST.

    My requests have to be asynchronous.

    Appreciate the assistance.

    Many thanks
    Doug

  2. #2
    dougster is offline Starter Member
    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    1

    Default

    Never mind - after further investigations and hacking, I discovered that I could build my transport requirements (PUT, DELETE, GET and POST) into a .jsp file, and then leverage org.apache.commons.httpclient to send the relevant requests.

    Magic stuff this is.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ZCS 6 not allowing POST to Zimlet's jsp?
    By chlauber in forum Developers
    Replies: 1
    Last Post: 09-15-2009, 10:31 AM
  2. YZD operations do not repeat online...ok?!?
    By alphaelectric in forum General Questions
    Replies: 0
    Last Post: 07-08-2009, 03:43 AM
  3. Replies: 1
    Last Post: 05-29-2008, 09:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •