开发者

Create KSOAP request with Properties containing Attributes

开发者 https://www.devze.com 2023-02-20 00:19 出处:网络
is there an easy way to create a request with KSOAP2 for Android that contains Properties that themselves contain Attributes, without creating an class that gets serialized?

is there an easy way to create a request with KSOAP2 for Android that contains Properties that themselves contain Attributes, without creating an class that gets serialized?

The Request should contain sth. like

<Code>
     <OwnProperty firstAttribute="1stAttr" secondAttribute="2ndAttr"> propertyValue</OwnProperty&开发者_如何学运维gt;
</Code>

Any help is appreciated, Rigoroth


SoapObject request = new SoapObject(Namespace,MethodName); request.addAtribute("name","peter");

i think is these you need sorry i'm late


I don't think thats possible without implementing KVSeriazable

0

精彩评论

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