Some of the return codes provided by Web Services

Featured Image -- 100

Software tips, HP Service Manager tips, tutorial, guide for HP Service Manager, Connect-IT and Release Control

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…

View original post 297 more words

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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