BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   How to send nested data using ksoap2? (

Sakberry 09-08-2010 02:02 AM

How to send nested data using ksoap2?

i wish to send some complex data to a webserivce via ksoap2.

The data which i wish to send consists of 2 classes one nested within the other.
How can i send them? Any help is highly appreciated!


Sakberry 09-08-2010 02:54 AM

Just to add some more details.....

i have a .net webservice that expects a object parameter "AttachData". The fields of AttachData are as follows:

public class AttachData


public string fileName;

public byte[] fileContents;

public OpportunityData oppDataObj;


where "OpportunityData" has the following fields:

public class OpportunityData


public string opportunityID;

public string customerName;

public DateTime creationDate;

public string currentOppState;


Can someone tell me how i can send this data from my BB client code using ksoap2?



All times are GMT -5. The time now is 11:17 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.