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.