• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deleting instance with REST & JavaMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting instance with REST & JavaMonitor


  • Subject: Deleting instance with REST & JavaMonitor
  • From: Klaus Berkling <email@hidden>
  • Date: Thu, 26 May 2011 11:38:05 -0700

HI All.

I'm toying with the REST stuff in JavaMonitor and ran into a problem deleting an instance.

This is the URL I send:

GET http://[host]:[port]/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/[AppName]/deleteInstance?pw=[password]&id=[id]

My URL appears to be right but I get a 500 "Your request produced an error." response.
Am I doing this wrong or anyone know of a known issue?

This is the sample URL from the wiki:

GET http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/deleteInstance?id=1

The source in JavaMonitor does routeObjectForKey("name") and routeObjectForKey("id"). Since there is a id=[id], this does not mean there needs to be a name=[AppName]. Tried that.


kib

"Live as if you were to die tomorrow. Learn as if you were to live forever."
Mahatma Gandhi

Klaus Berkling
Web Application Dev. & Systems Analyst
DynEd International, Inc.
www.dyned.com | blog | @kiberkli




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Deleting instance with REST & JavaMonitor
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: Avoiding expensive database roundtrips for enterprise objects
  • Next by Date: Re: Deleting instance with REST & JavaMonitor
  • Previous by thread: Re: Avoiding expensive database roundtrips for enterprise objects
  • Next by thread: Re: Deleting instance with REST & JavaMonitor
  • Index(es):
    • Date
    • Thread