BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-10-2007, 04:09 PM   #1
cyberpine
Thumbs Must Hurt
 
cyberpine's Avatar
 
Join Date: May 2006
Model: 8700g
Carrier: T-mobile
Posts: 65
Default simple j2me webservice client - NoClassDefFoundError

Please Login to Remove!

I have this very simple webservice and client i developed for the phone in j2me jsr 172 using the latest version of the sun wireless toolkit. I used the wireless toolkit to create stub, compiled and tested it just fine on the emulate.

on my bb 8700g, the application installs fine and runs fine until I call the web service, i get the error:

Uncaugh exception: javalang.NoClassDeffoundError


Any idea? Should i be able to run webserices this way on the 8700g? What can I do to troubleshoot?

Thanks in Advance for any help or information!
Offline  
Old 05-11-2007, 05:13 AM   #2
hussulinux
New Member
 
Join Date: Apr 2007
Model: 8700
PIN: N/A
Carrier: dont know
Posts: 11
Default post the code

just paste ur code,

are you using some package?
Offline  
Old 05-11-2007, 06:57 AM   #3
cyberpine
Thumbs Must Hurt
 
cyberpine's Avatar
 
Join Date: May 2006
Model: 8700g
Carrier: T-mobile
Posts: 65
Default

I used the sun wireless toolkit (latest version) and its
Soap stub generator for class that handles the web service. This code works in the toolkits' emulator, but produces the error on the BB when I select this menu item.

public void commandAction(Command c, Displayable s) {
if (c == exitCommand) {
destroyApp(false);
notifyDestroyed();
}
if (c == buyCommand) {
ServiceSoap_Stub service =new ServiceSoap_Stub();
service._setProperty(ServiceSoap_Stub.SESSION_MAIN TAIN_PROPERTY, new Boolean(true));
x = service.mymethod("buying");
fillbox(x);
}
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Siemens 6AV21240GC010AX0 Operator Interface Module - TP700 Comfort Panel picture

Siemens 6AV21240GC010AX0 Operator Interface Module - TP700 Comfort Panel

$850.00



Siemens SINAMICS 6SL3120-2TE13-0AA4 Servo Drive Double Motor Module 3-Phase AC picture

Siemens SINAMICS 6SL3120-2TE13-0AA4 Servo Drive Double Motor Module 3-Phase AC

$345.33



6AV2123-2GB03-0AX0 1PCS New Siemens  6AV2 123-2GB03-0AX0  Fast delivery picture

6AV2123-2GB03-0AX0 1PCS New Siemens 6AV2 123-2GB03-0AX0 Fast delivery

$260.17



6AV6 643-0CB01-1AX1 1PCS New Siemens 6AV6643-0CB01-1AX1 Touch Panel  Fast Ship picture

6AV6 643-0CB01-1AX1 1PCS New Siemens 6AV6643-0CB01-1AX1 Touch Panel Fast Ship

$484.52



Yaskawa SGMSV-25D3A61 servo motor Used  picture

Yaskawa SGMSV-25D3A61 servo motor Used

$945.00



1PC SIEMENS 6ES7511-1AK00-0AB0 Central Processing Unit 6ES7 511-1AK00-0AB0 picture

1PC SIEMENS 6ES7511-1AK00-0AB0 Central Processing Unit 6ES7 511-1AK00-0AB0

$412.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.