Question

so i im using the PropertyInfo to pass complex objects in my soap request, and its working 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?

Was it helpful?

Solution

Try:

soapObject.addProperty("envelope", envelope);

from SoapObject#addProperty

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top