BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-05-2007, 04:51 PM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Location: Alberta Canada
Model: 8830
PIN: N/A
Carrier: Bell
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ksoap2 import problem

Please Login to Remove!

I'm trying to learn how to use ksoap2 to access a .net web service. I'm using the JDE and was trying to follow some instructions I found on how to load a .jar file as a library located at "http://www.blackberry.com/knowledgecenterpublic/livelink.exe/How_To_-_Compile_a_JAR_file_into_a_BlackBerry_Library.html ?func=doc.Fetch&nodeId=801017&docTitle=How+To+%2D+ Compile+a+JAR+file+into+a+BlackBerry+Library"
I downloaded the ksoap2-j2me-core.jar file and followed the instructions but when I try to build it I get an error "Missing stack map at label: 30".
I've also downloaded the ksoap2-j2me-core.zip file. When I unzipped it the file extentions are .class. The directory structure looks the same as some of the examples that I have been looking at (eg org.ksoap2.*) but when I put these files in the projects directory and try to import it says "package org.ksoap2 does not exist. What am I missing? There are other threads that suggest to use the .java files but I have yet to find these files. Are they available to download from somewhere?
Offline  
Old 01-23-2008, 01:05 AM   #2 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by LightInTheDark View Post
I'm trying to learn how to use ksoap2 to access a .net web service. I'm using the JDE and was trying to follow some instructions I found on how to load a .jar file as a library located at "http://www.blackberry.com/knowledgecenterpublic/livelink.exe/How_To_-_Compile_a_JAR_file_into_a_BlackBerry_Library.html ?func=doc.Fetch&nodeId=801017&docTitle=How+To+%2D+ Compile+a+JAR+file+into+a+BlackBerry+Library"
I downloaded the ksoap2-j2me-core.jar file and followed the instructions but when I try to build it I get an error "Missing stack map at label: 30".
I've also downloaded the ksoap2-j2me-core.zip file. When I unzipped it the file extentions are .class. The directory structure looks the same as some of the examples that I have been looking at (eg org.ksoap2.*) but when I put these files in the projects directory and try to import it says "package org.ksoap2 does not exist. What am I missing? There are other threads that suggest to use the .java files but I have yet to find these files. Are they available to download from somewhere?
Hi,

Did u find any solution to this problem?
I am also facing the same issue... If u got any solution to this, pls. post it here..

It will be very helpful to me...

Thanks in advance
Offline  
Old 01-23-2008, 02:22 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The KB article neglects to mention that the jar file has to be preverified first. I've put a preverified ksoap jar on my site since this is requested so often. Try using this one with the KB article. Maybe I should also go ahead and make a library cod out of it...
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Vintage Testrite Proofing Frame 8 1/2" x 11" No 8511 - USA Newark NJ
$20.0
Vintage Testrite Proofing Frame 8 1/2VINTAGE IHC INTERNATIONAL B 275 D TRACTOR -FUEL TANK SUPPORT
$34.99
VINTAGE  IHC INTERNATIONAL B 275 D  TRACTOR -FUEL TANK SUPPORT pictureNEW VINTAGE 1950s ROYAL ENFIELD COMPLETE PROP SIDE STAND
$26.32
NEW VINTAGE 1950s ROYAL ENFIELD COMPLETE PROP SIDE STAND pictureVintage Babson Bros. "The Surge" Cow or Dairy Milker complete? stainless steel
$199.99
Vintage Babson Bros. Vintage Ace Cadet #302 Small Stapler Made Of Mostly All Metal - USA Made
$13.99
Vintage Ace Cadet #302 Small Stapler  Made Of Mostly All Metal - USA Made picture






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