I want to use j2me cell client to access web service. Currently, my desktop swing application is using axis wsdl2java tool to build client side to access web service. But as you know , axis is too huge for cell phone. So my questions are
1. what web service toolkit could be used for j2me cell phone ?
2. what wsdl2java tool we could have to generate client code in cell phone ?
Thanks in advance .
Sachin Patil
Ranch Hand
Joined: Nov 22, 2004
Posts: 39
posted
0
You can create a java class which does the following tasks 1. Construct an HTTP SOAP Request with input parameters 2. Parse the HTTP response to get the output parameters.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35220
7
posted
0
You wouldn't need to run Axis on the cell phone, just the code it generates, which you can pare down to the bare minimum. But any code a tool like this generates probably relies heavily on the JAX-RPC libraries, which may or may not be too large for memory, and may rely on Java classes not present in J2ME.
Originally posted by Ulf Dittmer: You wouldn't need to run Axis on the cell phone, just the code it generates, which you can pare down to the bare minimum. But any code a tool like this generates probably relies heavily on the JAX-RPC libraries, which may or may not be too large for memory, and may rely on Java classes not present in J2ME.
Even if you dont have to run axis, you need to have the jar in classpath,which is quite big. So Just sending a simple HTTP request would be better.