Write Mobile Web Service Client So need JSR 172 api


I am developing J2ME application that call a web service.
It working fine on some mobile.
But some mobile do not support full JSR 172 .So we need api for using Web Service.

We need this api  j2me_web_services-1_0-src.zip that contain two jar files j2me_rpc_ri.jar and j2me_xml_ri.jar.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Define some mobiles? Do they support J2ME?
rupeshagaAuthor Commented:
It is not working on Nokia 6300. And this support J2ME
You need the j2me-ws.jar and the j2me-xmlrpc.jar
Both these are a part of the WTK (try version 2.5.2)

You need to generate the WSDL using whatever tools you are using to create the service.

Then you need to generate the client side stubs. For this you need the stub generator provided in the J2ME WTK (Wireless Tool Kit).

Open the wireless toolkit, start a new project and go to Project -> Stub Generator. Choose the generated WSDL and enter the package name for the stubs. Your stub classes will not get generated in your project.

You can then move these classes to your actual project (in eclipse or whatever) and use them there.

Also, check out these links

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
download Sun Wireless Toolkit 2.5.2 from the following location http://www.oracle.com/technetwork/java/download-135801.html
In the same tool, under utilities you can find utility to convert wsdl to stubs(webservice client) using which you can write client/midlet to call the webservices.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.