Highlighted
Absent Member.
Absent Member.
471 views

How can we set sessiontimeout fany user which is getting login through wsdl into hpsm

How can we set session timeout for user which is connecting to hpsm through wsdl as tool has been integrated with SM and they are connecting though wsdl.
Or is there any way to set session time out for anyuser whiich is login through one port in load balancing .
PS : load balancing has been done and one port is assigned to wsdl
0 Likes
2 Replies
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: How can we set sessiontimeout fany user which is getting login through wsdl into hpsm

You can set a webservice_sessiontimeout parameter in your sm.ini (and it will then apply to every port) or as a parameter in your sm.cfg to set specific ports to have different session timeouts.  

Startup parameter: webservices_sessiontimeout
Startup parameters change the behavior of the HP Service Manager server. You can always set a startup parameter from the server's OS command prompt.

Parameter
Webservices_sessiontimeout

Description
This parameter defines the number of seconds that the server waits for a WebService API client request before the server assumes that the client session has timed out and closes the connection.

Valid if set from
server's OS command prompt
Initialization file (sm.ini)

Requires restart of Service Manager server?
Yes

Default value
1800

Possible values
Number of seconds

Example usage
Command line: sm -httpPort:13080 -webservices_sessiontimeout:30
Initialization file: webservices_sessiontimeout:30

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: How can we set sessiontimeout fany user which is getting login through wsdl into hpsm

Do check when you define that one port for wsdl only, that you have debugnode parameter in the sm command. debugnode will hide this port from the software load balancer. Some people have a hardware loadbalancer setup for a series of webservices ports. Worth considering if your webservices traffic starts to grow.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.