Ksoap Blackberry PropertyInfo.setValue
so i im using the PropertyInfo to pass complex objects in my soap request, and its working开发者_如何学JAVA fine on android, sample :
PropertyInfo pi = new PropertyInfo();
pi.name = "envelope";
pi.setName("envelope");
pi.setValue(envelope);
pi.setType(envelope.getClass().toString());
//envelope is a KvmSerializable class with namespace mappings.
now im trying to do the same for blackberry, but its not liking the "setName" or "setValue" parameters.
Any ideas?
Try:
soapObject.addProperty("envelope", envelope);
from SoapObject#addProperty
精彩评论