开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜