BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-16-2009, 01:23 PM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 8120
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default kSoap2

Please Login to Remove!

Hi -- I am new to blackberry development and am trying to use kSoap2 to call a web serice. However. I have been stuck since morning trying to include kSoap2 in my blackberry JDE.

I am using blackberry guidance to include the kSoap2 jar files in a new project under the same workspace and then referencing the new project in my actual application.

The problem is that when trying to compile the new project that references the kSoap2 jar files, I get the following error.

org.kobjects.base64.Base64: Error!: Missing stack map at label: 165

Help will be greatly appreciated.

Thanks,
Offline  
Old 01-21-2009, 06:30 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2008
Location: Scotland
Model: None!
PIN: N/A
Carrier: Vodafone
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried (and failed) to get KSoap2 working with my applications.

To hit WebServices I opted for using the Java Wireless Toolkit (Sun Java Wireless Toolkit for CLDC (formerly known as Java 2 Platform, Micro Edition (J2ME) Wireless Toolkit)) to produce stubs for your webservice. You can then easily call all your webservice methods.

The only drawback is that it creates 2 .class files for each webservice method but I have a webservice with 25 methods and no performance reduction and the final .cod file is not too bloated.
Offline  
Old 01-21-2009, 09:42 AM   #3 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

maybe this thread can help you.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 01-26-2009, 06:36 PM   #4 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: Smart
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by statberry View Post
Hi -- I am new to blackberry development and am trying to use kSoap2 to call a web serice. However. I have been stuck since morning trying to include kSoap2 in my blackberry JDE.

I am using blackberry guidance to include the kSoap2 jar files in a new project under the same workspace and then referencing the new project in my actual application.

The problem is that when trying to compile the new project that references the kSoap2 jar files, I get the following error.

org.kobjects.base64.Base64: Error!: Missing stack map at label: 165

Help will be greatly appreciated.

Thanks,

did you preverify the jar file?
Offline  
Old 01-26-2009, 06:36 PM   #5 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: Smart
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain View Post
maybe this thread can help you.
yes i agree another good suggestion.
Offline  
Old 02-28-2009, 07:34 AM   #6 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8800
PIN: N/A
Carrier: mobilink
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am using Stubs created by WTK 2.5.2 with JDE4.5
i am able to call Web service easily but cant get response
error is:

MISSING SOAP Body or Envelope.

my web service is complex one.
Please help me how u able to get response from Web Service

regards
Offline  
Old 03-02-2009, 12:58 AM   #7 (permalink)
New Member
 
Join Date: Feb 2009
Model: na
PIN: N/A
Carrier: na
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just check the JAR file u r using. it must be pre verified JAR file.

I am using KSoap2 and it works fine for me.

regards
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





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