[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-21 Thread Dave Gracie
This web service is used by several services (dotNet applications and iPhone) and therefore cannot be changed, also the dataset parameter is sensible for the purpose. I have decided to create a wrapper function in the web service that accepts in a string representation of the dataset, this

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-20 Thread Dave Gracie
Thats actually the first thing I tried. I passed in the ms soap version of the dataset but still didnt work. I think I only have one option and that is to build up the soap request (xml) manually and post it myself, removing teh need for KSoap. 2009/10/19 gjs garyjamessi...@gmail.com Hi

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-20 Thread gjs
Hi, Or modify the webservice to accept something more sensible... Regards On Oct 20, 7:45 pm, Dave Gracie david.gra...@gmail.com wrote: Thats actually the first thing I tried. I passed in the ms soap version of the dataset but still didnt work. I think I only have one option and that is to

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-19 Thread gjs
Hi, I'd think your asking in the wrong forum, a (microsoft proprietary) Dataset object is usually associated with .net development. Where would your microsoft Dataset object be coming from for you to send it from an android device to a dotnet webservice ? Suggest you try more googling eg -

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-19 Thread Dave
Hi Thanks for the response. Its not an issue with the webservice as this works fine. the issue is with how I go about creating the ksoap parameter to be passed to the webservice. Simple types suck as strings, ints etc.. are fine. but the complex type of a dataset just isnt as straight forward.

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-19 Thread konic
You may try to ask this question directly to the android port of ksoap (http://code.google.com/p/ksoap2-android/) Next, if you look in ksoap2 docs (http://ksoap2.sourceforge.net/doc/ api/org/ksoap2/serialization/SoapObject.html) you'll see that in fact second parameter in addProperty() is Object.

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-19 Thread Dave Gracie
I might try emailing the guy who did the android ksoap port directly. the second parameter is just the value of the parameter. My issue is what structure / format should that value be to correctly send a dataset. Thanks for the help. Dave 2009/10/19 konic nflous...@gmail.com You may try to

[android-developers] Re: KSoap - How to pass a dataset to a dotNet webservice?

2009-10-19 Thread gjs
Hi again, You could reverse engineer this to some extent by generating a proxy for a client of the webservice then use ,something like wire shark to monitor/capture what is passed between the client and the webservice. I guess it might be an xml representation of the Dataset that gets passed.