开发者

How to create class by using XSD and SoapObject in android app?

开发者 https://www.devze.com 2023-03-29 04:27 出处:网络
I have a XSD file in that it contain a class \"Person\" so how can i create this person class in android app using soap object in order to sent this class object in a service call like:

I have a XSD file in that it contain a class "Person" so how can i create this person class in android app using soap object in order to sent this class object in a service call like:

SoapObject obj= new SoapObject("namespace","methodname");
obj.addProperty("per",person); 
//where person is the Person c开发者_如何学Pythonlass object derived from XSD using soap object

so how can i do this conversation plz help me.


I think envelope.getResponse() can return a SoapObject, or a SoapPrimitive/Vector, I think you're casting a Vector on a SoapObject.

0

精彩评论

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