• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what wsdl2java tool for j2me cell phone ?

 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sachin Patil
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic