ratm83 / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

XML node names for Vector (array) properties. #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am working with a WebService that receives an array as a parameter. I found 
that this kind of parameters is passed using Vectors.

The problem is that kSoap always renders xml nodes with "item" as the node name 
of each element in the Vector.

Because I am developing my WebService with .NET and I have more than one 
methods that receive array parameters of various types, I can't map the "item" 
node name to multiple types on .NET because this causes errors at runtime.

Given this, we fall on the need to download the kSoap sources and make a slight 
change to have correct communication between kSoap and my WebServices.

As I believe this change could be useful for other people, I am submitting the 
patch file throught this list so that you can evaluate it and, if you thinks is 
appropiate, apply the patch to the official code.

Thank you.

Original issue reported on code.google.com by hz.ed...@gmail.com on 6 Sep 2010 at 5:01

Attachments:

GoogleCodeExporter commented 9 years ago
Can you confirm that you are happy to license these patches as Apache V2 for 
inclusion and provide your contact details to add to the license file? 

Original comment by mosa...@gmail.com on 12 Oct 2010 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by mosa...@gmail.com on 12 Oct 2010 at 6:57

GoogleCodeExporter commented 9 years ago
Yes, I have no problem licensing the patches as Apache V2. How should I provide 
my contact details?

Original comment by hz.ed...@gmail.com on 20 Oct 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Just your full name and email address to add to the license.txt file. You can 
email me personally instead of posting here.

Original comment by mosa...@gmail.com on 21 Oct 2010 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by mosa...@gmail.com on 21 Oct 2010 at 4:42

GoogleCodeExporter commented 9 years ago
Applied patch to github: 
http://github.com/mosabua/ksoap2-android/commit/a5231af66fad440a0ade78dce5ba4ac0
e954abb0

It will make it out with the next release. Can you verify it works for you in 
the meantime?

Original comment by mosa...@gmail.com on 22 Oct 2010 at 3:55

GoogleCodeExporter commented 9 years ago
Yes, I will verify it on this ongoing week. I will let you know on 
Saturday-Sunday. I have mailed you my contact details.

Thank you!

Original comment by hz.ed...@gmail.com on 4 Nov 2010 at 7:07