Where to find list of Packages.* supported by service now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018 02:48 AM
In one of the service now application code, I found few package references as following:
var httpclient = Packages.org.apache.commons.httpclient;
var httpPost = Packages.org.apache.commons.httpclient.methods.PostMethod;
var httpPut = Packages.org.apache.commons.httpclient.methods.PutMethod;
var httpDelete = Packages.org.apache.commons.httpclient.methods.DeleteMethod;
But how can I find these available methods inside Packages.*? There is no documentation about this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018 01:55 PM
You shouldn't be using them at all. They were abandoned like 4 years ago. Maybe you can find some usage in earlier comments, but since they are not supported don't even try to play with them. Use only documented API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018 10:31 PM
Thanks for the answer. But I'm using this script in MID server, and in MID server which documented API should I use? (I think Outbound service integration can't be used there in script)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018 02:15 PM
Below link may be helpful
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 10:11 AM
The link is broken. Probably happened when everything was ported to the new platform.