09-03-2009 11:45 AM
IN Command prompt do the below
C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin>preverify -classpat
h "C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\lib\net_rim_api.jar"
09-03-2009 12:15 PM - edited 09-03-2009 12:17 PM
Another quicker/dirtier alternative to implementing KvmSerializable is to cast the result of getProperty() as a SoapObject. You can then call getProperty() again to get a sub-element.
So the following should get you down to the <MetaData> element.
SoapObject result = (SoapObject)envelope.bodyIn;result = (SoapObject) result.getProperty("JobData");result = (SoapObject) result.getProperty("MetaData");
ok i will make my doubht clearer
when i call
SoapObject result = (SoapObject)envelope.bodyIn;
i get this string-
<Job ID="12343242"><MetaData Matter="This is some Matter"></MetaData></Job>
now i need to extract the job id ,matter into two strings. how to do that?Message Edited by rihan007 on 29-07-2009 04:09 PM
02-23-2010 04:49 AM - edited 02-23-2010 04:50 AM
I was getting the "Error!: Missing stack map at label: 40" from last several hours and found your reply useful in resolving it.
Thanks Rihan007 :-)
06-30-2010 08:17 AM
Hi, I have a similar kind of problem that you faced.
I have web services to be implemented and am using ksoap2.
Two of them are pushing the data and rest of them are pulling the data from the server.
I'm afraid it has been quite a while but I'm stuck on it. :-(
No errors but no effect as such.. no response from the web service.
Just wanna confrm that I'm doing everything ok.
included the ksoap2 preverified jar file and got it working.. ( as i said no errors)
I have a button and on its listener event I initiate the service url , namespace and soapAction.
Then SoapObject and SoapSerializationEnvelope..
then setting the envelope.bodyout and add property for the parameters... to be passed in the web services
then setting the HttpTransport followed by try and catch block
I do need to push and pull data from the server so will need to store the data objects. and display them..
Please suggest me something, im stuck at this point.