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

Daytronic 9010/001 Mainframe 73459 - Used
$302.77
Daytronic 9010/001 Mainframe 73459 - Used pictureMKS TYPE 260 CONTROLLER (4 TOTAL) & TYPE 261 DISPLAYS (2) IN MAINFRAME
$150.0
MKS TYPE 260 CONTROLLER (4 TOTAL) & TYPE 261 DISPLAYS (2) IN MAINFRAME pictureStanford Research SIM900 SIM925 SIM960 PID controller Mainframe Multiplexer SRS
$2185.0
Stanford Research SIM900 SIM925 SIM960 PID controller Mainframe Multiplexer SRS pictureTektronix TM504 Mainframe 4-Slot Chassis
$69.99
Tektronix TM504 Mainframe 4-Slot Chassis picture154 CUB IH LO BOY 184 185 54" PLOW MAIN FRAME LIFTING ARM ASSEMBLY
$125.0
154 CUB IH LO BOY 184 185 54






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