WSClient++ Blackberry Issue “WSClientForBlackberry not found”


We recently discovered that the BlackBerry has Packager module package references correctly in the case of some source code compatibility. And this post explains how to solve this problem.

WSClient + + comes with the file that contains compiled Java classes wsclient.blackberry.jar with the source code needed to run the project. But if the file is not packaged correctly wsclient.blackberry.jar the BlackBerry, the runtime will fail with an error

Module "WSClientForBlackberry" is not

It is because of the difference between the compiled version wsclient.blackberry.jar, and the version of your BlackBerry goal. Since we can not build and ship each version separately, it is following to solve this problem.

  1. Unzip the contents of wsclient.blackberry.jar
  2. This file contains the source code. Class files
  3. Ignore all. Class and create a package to the Eclipse project as "com.neurospeech.wsclient" and paste all the Java source files in your project.
  4. Now you can build and Blackberry Packager includes all the necessary files needed to run WSClient + + connect to a Web service

Enhanced by Zemanta
Category:

0 komentar:

Posting Komentar