Reputation: 95
I have created J2me application (prototype) and now I have to add web services to it which are written in .Net.
How to do that? I'm looking for the procedure for developing j2me client in which I can pass parameters which are similar as in .Net web service.
Upvotes: 3
Views: 537
Reputation: 29670
As the sreehari explained, first you need to have JAX-RPC API to include in your project. Once you have done that, the next thing comes, How to call web service.
Web Service can be created in any language like Java ( servlets ), PHP or .net, I have worked with all these three. for Java & PHP you can directly call the web-service, while for .net you need to create stubs.
Steps to create stubs. Once you create these stubs, you can simply call it like you call other methods in code and pass the argument ( if necessary ).
Also look at this quetsion How to use web service in J2ME application ?
Upvotes: 2
Reputation: 736
You will need to use JAX-RPC API to create client for Web services. It doesn't matter in which language the service is implemented. I am not sure on limitations from a J2ME perspective.
Upvotes: 0