Some of the return codes provided by Web Services

When using the WebServices in HP Service Manager, there always have the request and response messages. If we look at the response document (XML), we saw the <message> tag that shows the status of the request document.

That attribute always contains either “SUCCESS” or “FAILURE.” A best practice is to check either the status to see if it has the value “SUCCESS” or to check the return code to see if it is zero. All other values equate to FAILURE. The value of the message attribute is a string which corresponds to the return code value. The Service Manager server global JavaScript method called RCtoString()will convert a particular integer return code value to the corresponding message text. The following are the currently defined values:

Value Definition
0 Success
1 Bad Length
2 Bad Serial Number
3 Resource Unavailable
4 Unable to Terminate
5 Resource Not Available
6 Resource Expired
7 Specified Name Not Found
9 No (more) records found
10 No messages
11 No query words
12 No stop words
13 No string
14 No such word
15 Not enough memory
16 Already exists
17 Shutdown error
18 Stop words not found
19 Too many documents
20 Unable to open file for output
21 Waiting for resource
22 Word length too long
23 Duplicate file system
24 Duplicate IPC Key
25 IPC Key Not Found
27 Wrong owner
28 Not authorized
29 Invalid Userid Specified
30 Invalid Password Specified
31 New Password is Invalid
32 Password Expired
33 Authority Revoked
34 Max Attempts to Login Exceeded
35 Max Number of Logins Exceeded
36 Invalid terminal for user
37 Invalid Authorization Code
38 Maximum users exceeded
39 Named user already logged in
40 Not a named user and no floating users available
41 User Already Logged In
42 Forced synchronization
43 IR read count mismatch
44 Seek error
45 24×7: DBLOG error
46 Open error
47 Error closing remote file
48 Duplicate key
49 Null key
50 All null keys
51 Record modified since last retrieved
52 Record deleted since last retrieved
53 Trigger Error
54 Not supported
55 Record no longer qualifies
56 Query timed out
57 Unable to delete file
58 Partially-keyed or non-keyed query
59 Error occurred in parsing
60 Shared memory version mismatch
61 Distributed Lock Manager cannot lock item
62 Refresh not needed
63 Userid expired
64 Userid inactive
65 SQL conversion skipped for this file
66 Query could not be parsed
67 file could not be opened
68 User is not located in LDAP
69 User is not allowed to use ODBC driver
70 Invalid SOAPaction / unrecognized application action
71 Validation failed
72 User is not allowed to use SOAP API


1 Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s