session management- webmethods java service

Hi,

I am new to webmethods… Can you please tell me via example as how to do session handling in a java service that uses only webmethods API

Thanks,
Keil

use class:
import com.wm.app.b2b.server.Session;

by adding jar: wm-isserver.jar

refer to documentation: Integration_Server_Java_API_Reference