Ladies and Gentlemen,
I have a webservice on the internet that is unsecure (HTTP) and I can access it using Visual Studio (Add Web Reference) or Java by generating stubs using Netbeans .. no problem with that at all.
The problem comes when I want to generate stub java for J2ME. I use the "Stub Generator" utility that comes with Sun's Wireless Tool Kit 2.5.2 but I always get a stub generation error as shown in the attached files.
Can you kindly suggest whether I should:
- modify WSDLs (somehow) so the Stub Generator can generate stubs without problems.
- Use another stub generator (for J2ME) other than the one that comes with WTK 2.5.2
in either case please suggest how?
P.S. As a workaround, I tried to generate stubs with Netbeans for a normal J2SE application and it generated successfully .. however, when I tried to use them in J2ME, the preverifier complained that (java.util.List) and other J2SE type that aren't available in J2ME are used in the compiled stubs .. so it didn't work.