Skip to Content

Disconnect a WebService Model

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 15, 2010 at 04:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded