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.
I just thought that someone may have had this problem with ksoap before. Thanks Dave On Oct 19, 7:45 am, gjs <[email protected]> wrote: > 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 - > > http://www.blackberryforums.com/developer-forum/178964-25-00-someone-... > > http://osdir.com/ml/java.enhydra.ksoap/2003-07/msg00009.html > > Regards > > On Oct 19, 6:47 am, Dave <[email protected]> wrote: > > > Folks > > > I know there are quite a few examples of accessing dotnet webservices > > that return a dataset. I cannot find any examples there the webservice > > method requires a dataset as a parameter. i.e. > > > dotNet webservice: > > > <WebMethod()> _ > > Public Function TestWS(ByVal ds As DataSet) As String > > Return ds.Tables.Count & " Tables in dataset" > > End Function > > > I have tried adding the parameter of xml string of the dataset by > > capturing the http post content of a dotNet web page and extracting > > the relevant section for the parameter without any success. This > > included the schema but neither having this there or not made any > > difference. > > > I have also just tried creating a simple xml structure but still > > nothing. > > > rpc.addProperty("ds","<ds><t1><f1>blah</f1></t1></ds>"); > > > If anyone has any ideas it would be appreciated, I really dont want to > > go down the route of creating the soap xml and posting it myself. > > > Thanks in advance > > Dave > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

