wood burning stoves 2.0*
The moose likes Web Services and the fly likes what wsdl2java tool for j2me cell phone ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "what wsdl2java tool for j2me cell phone ?" Watch "what wsdl2java tool for j2me cell phone ?" New topic
Author

what wsdl2java tool for j2me cell phone ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
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
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: 41062
    
  43
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.

Here's an article that may help you along.


Ping & DNS - my free Android networking tools app
Sachin Patil
Ranch Hand

Joined: Nov 22, 2004
Posts: 39
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what wsdl2java tool for j2me cell phone ?
 
Similar Threads
Use Web Service
calling asp webservice from tomcat 5 based app
wireless cell phone call web service
Web Service Availability
Axis - Null pointer exception