Hi I have a question, perhaps someone can help me out.
I have created a web service in Java which I will then deploy for my clients to use. So far so good.
I will not create the client application myself. I will simply expose the web service, then the clients will create their own tools which connect to it.
So first question, I need a method of logging in. I already have username and password functionality in my software but not in my web service. What I was thinking was something along the following lines.
Client -> Web Service - Login(username, password)
Web Service -> Client - return LoginObject (Contains if successful or not among other things)
Client -> Web Service - DoSomething(LoginObject, param1, param 2)
Web Service -> Client - return success/fail
I want the client to make use of this LoginObject in order to send it along when performing the DoSomething method. Obviously the attributes of this class will be read only. If im writing this class library in java, and my client is using c# i can see problems for this, and I dont want to create the class library for every programming language they will use.
I was wondering what the industry standard way of doing such a thing is. Any ideas?
Thank you very much for your time in advance :)
James