In C# I have methods that use
[WebMethod(EnableSession = true)]
I consume them in C# .net by using a cookiecontainer to maintain state.
How do I do the same thing in java? I want to call a .net webservice with [WebMethod(EnableSession = true)] and have it maintain state between calls.