12-09-2008 05:20 AM - edited 12-09-2008 05:29 AM
ok, what is MDS ? is it downloadable? i tried it having HttpTransport transport = new HttpTransport("http://192.168.1.110:8080/BlackberryWS/BlackberryService;deviceside=tr
and now it gives me TcpClientConnection Source not found.
TcpClientConnection address = tcpsocket://192.168.1.110:8080;connectionhandler=n
12-09-2008 05:33 AM
12-09-2008 05:58 AM - edited 12-09-2008 07:12 AM
ok i successfully started MDS-CS but i have
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
Press any key to continue . . .
why is this?
12-09-2008 10:42 AM
Is this error in the simulator or in a real BB device?
When I begin to work with BB development, I found that somethings if run on a real device works and in simulator not, What I did is re-install the development enviroment.
Your error is very strange, your code for calling WS with KSOAP looks fine and the WS too.
Can you intall everything again in a Virtual Machine or other machine?
03-18-2009 03:13 PM
the way i had the KSOAP library was using this steps:
- Create a Blackberry library project in your workspace, Ksoap2. (Create a new project->Right click->Project Properties-> Blackberry Project Properties-> Application->Project type->Library
- Create a folder called "lib" at this new library project.
- Copy the ksoap2 preverified to the lib folder. Right click at Eclipse and select "Add to build path".
- Right click on the project->Add file to Blackberry Project-> Select the ksoap2 jar from the "lib" folder.
Now, into your project, in which you wanna use ksoap, do the next:
- Right click on the project -> Properties -> Java Build Path -> Libraries -> Add Jars... select Ksoap2.jar (Project's jar NOT LIBRARY JAR).. ->Ok
- Right click on the project -> Properties -> BlackBerry Project Dependencies -> Select "Ksoap2".
I am just entering into BlackBerry development using Eclipse 3.4.1 and the BlackBerry JDE plugin version 4.6.0_18.104.22.168. I am also trying to get a sample working which depends on KSoap2. However, when I try to follow the instructions above I cannot because my KSoap2 project in Eclipse which I have specified to be a Blackberry Library does not build a jar at all. According to my_aro, I should be able to reference my KSoap project in another project by adding the project's jar "KSoap2.jar" to the build path of the other (non-library) project which needs to leverage KSoap code (see the bold section above).
My KSoap2 Blackberry library project does not generate a "KSoap2.jar", only the following artifacts:
Does anyone have any idea why I am not generating a KSoap2.jar which I can then include from another project, or am I way off base here? By the way I have doublechecked that I am using the preverified version of the ksoap-j2me-core-2.1.2.jar in my KSoap2 project.
I would greatly appreciate anyone's input on this issue!