10-23-2012 05:31 AM
Searched around the web but did not find any real good answers for Blackberry.
Anyone having some useful tip? Tought of coding something but then it would be with hard coded variable names since I do not know of a way to reference a variable name "dynamically" in code.
Solved! Go to Solution.
10-23-2012 05:48 AM
10-23-2012 05:52 AM
Thanks Simon. I will have a look
10-23-2012 02:09 PM
Simon
I found the Sourceforge project ksoap2. It just had jar file that was downloadable, Have spent an hour chasing documentation on how to use the product. I only got a tip of looking at the ksoap2-android project for documentation but that was not very helpful.
Tou know where to find it?
10-24-2012 04:21 AM
11-10-2012 12:03 PM
Back to this problem after solving the problem of actually getting the XML files that arrived as a zip file from a server
and store them in persistant storage
I have tried to read the documentaion on ksoap, actually its ksoap2 and I am totally overwelmed. It feels like I have to learn all the details on how all the machinery in a car interacts and how the single components work in detail.
Well I know all that. Took some time to learn. As a hobby I do work on 60-80 American cars and improve them.
Now all I want is to deserialize that XML file I get. Any help is appreciated. Like, just driving the car :-)
11-10-2012 07:59 PM
kSoap is a little different to just processing XML. If all you want to do is process XML, then this might help, and uses a builtin parser so you don't have to add any library to your application:
http://supportforums.blackberry.com/t5/Java-Develo
11-11-2012 03:26 PM
Found this:
http://jibx.sourceforge.net/eclipse/index.html
Works for J2ME
Installs to Eclipse via Software Install
lots of examples
Will try it out
11-12-2012 09:24 AM
JibX
No. Strange problems with workspace. Back to square one. Ksoap2. Actually KSoap2-android after a recommendation from the mailing list
Just one jar file to install. Put it in plugins and defined in build path, Just that.
Error while packaging test project with no soap2 code.
org/kxml2/wap/wv/WV.class: Error!: Invalid class file: Incorrect classfile version
Packaging project TestDriver failed (took 0.906 seconds).
put it on the mailing list. we will se. Never ending story
11-12-2012 11:26 AM
I do not understand why you are using kSoap if you just have an XML stream/file to process. kSoap is only for SOAP type communications with Web Servers and most Servers will offer other packaging methods which are easier to process.