cancel
Showing results for 
Search instead for 
Did you mean: 

Disconnect a WebService Model

former_member214651
Active Contributor
0 Kudos

Hi All,

I am aware about the disconnectIfAlive() method used to terminate the connection in case of RFC models. But I would like to know if there exists anything similar for terminating connection in a WebService model?

Regards,

Poojith MV

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi

This is the standard Web Service Invocation Settings .

[How can Web Service Invocation Settings be modified programmatically?|http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-HowcanWebServiceInvocationSettingsbemodifiedprogrammatically%3F]

I have one question

disconnectIfAlive() , is standard method which terminate the connection no matter whether it is of RFC, EJB or WS, If you observe even after calling disconnectIfAlive no data session will be closed untill and unless Model scope is TASK_SCOPE

which we define during instantiation of the class.

WDModelScopeType.TASK_SCOPE

This is what I have tested, your inputs are welcome.

BR

Satish Kumar