Problems to build a Java Client to consume a C# WebService
posted 7 years ago
I'm having a big trouble with a WebService written in C#. I made one client in C# and it works fine, I just have to instantiate the objetct CookieContainer and call the Logon method, after this, I can call the other methods with no problems.
But, whit a Java client, I don't have the object cookieContainer. So I can logon sucessufuly, but I can't call any other methods, because I get a error message that I have to logon first, I realize that the error is because I don't have the cookieContainer, so I can't maintain the session with the WebService.
There is some object similar to cookieContainer in Java?