BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Blackberry_chn Offline
New Member
 
Posts: 1
Join Date: Jun 2009
Model: 9500
PIN: N/A
Carrier: Vodafone
Default Invoking a web service - 07-03-2009, 10:54 AM

I am trying to invoke the web service through BlackBerry Code, but unable to successfully come up with a Client Code.
The following procedure is used to come up with the Client Code:

Generate the client stub code using wsdl2java command
Package the stub file as a jar
Import the jar along with the weblogic.jar and webservices.jar and create a client request file
In the ClientRequest File we create an instance for the webservice and try to invoke the web method using that instance

After doing all this, the request file compiles without any errors.
But while running it in Eclipse using JDE 4.3 plugin, it gives a java.lang.NoClassDefFoundError

When i try to run with the same setup in JDE 4.3 we get the following error
wl/weblogic/j2ee/descriptor/WebAppBeanImpl.class: Error!: Invalid class file: Java heap space

Can you please let me know if the procedure i have followed is correct.

We have also tried the following thing:

i tried using ksoap2.jar which can be used to generate the request xml for the web service.
But we are not able to form the request xml as per our webservice.

Please help.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
koic Offline
Thumbs Must Hurt
 
Posts: 62
Join Date: Feb 2009
Location: CANADA
Model: 9000
PIN: N/A
Carrier: Rogers
Default 07-03-2009, 01:29 PM

Usually ppl show code or something which does not work
   
Reply With Quote
  (#3 (permalink)) Old
jasonwatson Offline
New Member
 
Posts: 11
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: verison
Default 07-10-2009, 09:37 PM

if you can provide all of the code we might be able to give you direction
   
Reply With Quote
Reply


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-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.